Skip to content

Commit f1b6b80

Browse files
authored
Add per_country to List Breweries docs (#31)
1 parent 1f703cc commit f1b6b80

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/routes/documentation/+page.svx

+9
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ Filter breweries by city.
6060

6161
<RunButton endpoint="https://api.openbrewerydb.org/v1/breweries?by_city=san_diego&per_page=3" />
6262

63+
### `by_country`
64+
65+
Filter breweries by country.
66+
67+
**Note:** For the parameters, you can use underscores or
68+
[url encoding](https://en.wikipedia.org/wiki/Percent-encoding) for spaces.
69+
70+
<RunButton endpoint="https://api.openbrewerydb.org/v1/breweries?by_country=south%20korea&per_page=3" />
71+
6372
### `by_dist`
6473

6574
Sort the results by distance from an origin point, denoted by

0 commit comments

Comments
 (0)