mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Add documentation for News API
This commit is contained in:
parent
943a7cee78
commit
9fe419c0ed
10
WEB-API.md
10
WEB-API.md
|
|
@ -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
|
||||
-------
|
||||
|
|
@ -56,3 +58,11 @@ Ladders
|
|||
-------
|
||||
|
||||
https://pokemonshowdown.com/ladder/gen8ou.json
|
||||
|
||||
|
||||
News
|
||||
----
|
||||
|
||||
https://pokemonshowdown.com/news.json
|
||||
|
||||
https://pokemonshowdown.com/news/270.json
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user