Make WordCamp Information App Using WP API + React
Try to make application that show WordCamp Information from WordCamp Central‘s API Feature Show Recent 1 […]
広告ここから
広告ここまで
目次
Try to make application that show WordCamp Information from WordCamp Central‘s API
Feature
- Show Recent 100 WordCamp Data.
- Sorting Start Date
- Link WordCamp Website URL & GoogleMap URL
ScreenShot
Tips
Get WordCamp Information using WP REST API
WordCamp Website has WP REST API Endpoints.and that is customised for their site.
So you can get information from following address.
https://central.wordcamp.org/wp-json/posts?type=wordcamp
And if you want to get customised data, you can use filter[XXX]
query.
Query Example
- Get 20 WordCamp Data
- https://central.wordcamp.org/wp-json/posts?type=wordcamp&filter[posts_per_page]=20
- Get WordCamp of “tokyo” Data
- https://central.wordcamp.org/wp-json/posts?type=wordcamp&filter[s]=tokyo