Skip to content

Commit

Permalink
chore: Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kkweon committed Sep 9, 2021
1 parent 669236a commit 4672911
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 198 deletions.
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# paperswithcode-go

[![Go](https://github.com/codingpot/paperswithcode-go/actions/workflows/go.yaml/badge.svg)](https://github.com/codingpot/paperswithcode-go/actions/workflows/go.yaml)
[![Go Report Card](https://goreportcard.com/badge/github.com/codingpot/paperswithcode-go)](https://goreportcard.com/report/github.com/codingpot/paperswithcode-go)
[![Go Reference](https://pkg.go.dev/badge/github.com/codingpot/paperswithcode-go/v2.svg)](https://pkg.go.dev/github.com/codingpot/paperswithcode-go/v2)
[![codecov](https://codecov.io/gh/codingpot/paperswithcode-go/branch/main/graph/badge.svg?token=MhzDKZOtWK)](https://codecov.io/gh/codingpot/paperswithcode-go)

This is a client for PapersWithCode read/write API.

For Python version, see https://github.com/paperswithcode/paperswithcode-client

## Quick usage example

```go
import "github.com/codingpot/paperswithcode-go/v2"
```

```go
c := paperswithcode_go.NewClient()
papers, _ := c.PaperList(paperswithcode_go.PaperListParamsDefault())
gan, _ := c.PaperGet(paperswithcode_go.GetPaperIDFromPaperTitle("Generative Adversarial Networks"))
```
# paperswithcode-go

[![Go](https://github.com/codingpot/paperswithcode-go/actions/workflows/go.yaml/badge.svg)](https://github.com/codingpot/paperswithcode-go/actions/workflows/go.yaml)
[![Go Report Card](https://goreportcard.com/badge/github.com/codingpot/paperswithcode-go)](https://goreportcard.com/report/github.com/codingpot/paperswithcode-go)
[![Go Reference](https://pkg.go.dev/badge/github.com/codingpot/paperswithcode-go/v2.svg)](https://pkg.go.dev/github.com/codingpot/paperswithcode-go/v2)
[![codecov](https://codecov.io/gh/codingpot/paperswithcode-go/branch/main/graph/badge.svg?token=MhzDKZOtWK)](https://codecov.io/gh/codingpot/paperswithcode-go)

This is a client for PapersWithCode read/write API.

For Python version, see https://github.com/paperswithcode/paperswithcode-client

## Quick usage example

```go
import "github.com/codingpot/paperswithcode-go/v2"
```

```go
c := paperswithcode_go.NewClient()
papers, _ := c.PaperList(paperswithcode_go.PaperListParamsDefault())
gan, _ := c.PaperGet(paperswithcode_go.GetPaperIDFromPaperTitle("Generative Adversarial Networks"))
```
2 changes: 1 addition & 1 deletion dummy/paper_get_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"conference_url_abs": null,
"conference_url_pdf": null,
"proceeding": "proceedings-of-the-27th-international"
}
}
Loading

0 comments on commit 4672911

Please sign in to comment.