Skip to content

Commit

Permalink
Add documentation for News API
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarel committed Jul 3, 2020
1 parent 943a7ce commit 9fe419c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions WEB-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Pokémon Showdown website APIs

Most PS APIs that you would want to access programmatically are available by adding `.json` to the URL.

They all have `Access-Control-Allow-Origin: *`, so you can access them directly using AJAX.


Replays
-------
Expand Down Expand Up @@ -56,3 +58,11 @@ Ladders
-------

https://pokemonshowdown.com/ladder/gen8ou.json


News
----

https://pokemonshowdown.com/news.json

https://pokemonshowdown.com/news/270.json

0 comments on commit 9fe419c

Please sign in to comment.