Accessing WordPress json
I am trying to access the json data of PreciousPlastic website in order to build an APP for Precious Plastic. I understood from Dave that Map & Community are both available via WordPress REST API.
I tried accessing https://map.preciousplastic.com/wp-json (to get all WP links) and also https://map.preciousplastic.com/wp-json/wp/v2/posts (to get the json data), BUT both did not exist!
Can someone please give me a basic overview of where the json is stored?
From my WordPress understanding, it should be under https://yourwebsite.com/wp-json/wp/v2/posts.
I also saw that this was referred to via here, but the IP did not work either.
Here is how the structure is set up.
Our community (davehakkens.nl) contains a database that stores all the information. PreciousPlastic.com is just a static website, just as storyhopper.com, projectkamp.com, phonebloks.com etc.
on map.preciousplastic.com people can add new pins (data is stored in davehakkens.nl database)
And finally we have the bazar which runs using a 3th party software (sharetribe), not our database.. Want to change this in the future though..
All of these repositories can be found on our Github. https://github.com/hakkens/davehakkens So In order to reach that json file it needs to come from the database here on davehakkens.nl
You must be logged in to reply to this topic.