Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKandut committed Aug 12, 2018
1 parent 599efe3 commit 2006512
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Rule34 Json API
This is a small web-api that implements all functionalities of the original rule34 api, but instead of xml it provides json.

The app is [hosted on heroku, "https"] for simple access and usage.
The app is [hosted on heroku](https://r34-json-api.herokuapp.com) for simple access and usage.

## Posts
Posts can be accessed with ```/posts``` or ```/p```.
Expand All @@ -15,12 +15,12 @@ Posts can be accessed with ```/posts``` or ```/p```.
All of these are optional.

### Example
https://r34-json-api.herokuapp.com/posts?tags=dark_skin+female
[https://r34-json-api.herokuapp.com/posts?tags=dark_skin+female](https://r34-json-api.herokuapp.com/posts?tags=dark_skin+female)

## Comments
Posts can be accessed with ```/comments``` or ```/c```.
### Query parameters
* **post_id** - Allows you to get all comments of a single post.

### Example
https://r34-json-api.herokuapp.com/comments/post_id=2868605
[https://r34-json-api.herokuapp.com/comments?post_id=2868605](https://r34-json-api.herokuapp.com/comments?post_id=2868605)

0 comments on commit 2006512

Please sign in to comment.