Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonRomano committed Dec 16, 2016
1 parent 559eeef commit 16752b4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ if pinterestError, ok := err.(*models.PinterestError); ok {

### Create a Board

##### Endpoint

`[POST] /v1/boards/`

##### Sample

```go
board, err := client.Boards.Create(
"My Test Board",
Expand All @@ -118,12 +124,24 @@ board, err := client.Boards.Create(

### Delete a Board

##### Endpoint

`[DELETE] /v1/boards/<board_spec:board>/`

##### Sample

```go
err := client.Boards.Delete("BrandonRRomano/go-pinterest-test")
```

### Edit a Board

##### Endpoint

`[PATCH] /v1/boards/<board_spec:board>/`

##### Sample

```go
board, err := client.Boards.Update(
"BrandonRRomano/go-pinterest-test",
Expand All @@ -136,12 +154,24 @@ board, err := client.Boards.Update(

### Retrieve information about a Board

##### Endpoint

`[GET] /v1/boards/<board_spec:board>/`

##### Sample

```go
board, err := client.Boards.Fetch("BrandonRRomano/go-pinterest")
```

### Retrieve the Pins on a Board

##### Endpoint

`[GET] /v1/boards/<board_spec:board>/pins/`

##### Sample

```go
pins, err := client.Boards.Pins.Fetch(
"BrandonRRomano/go-pinterest",
Expand Down

0 comments on commit 16752b4

Please sign in to comment.