MissionalDigerati / joshua_project_api

An API for connecting to the Joshua Project data.
GNU General Public License v3.0
6 stars 2 forks source link

API Documentation 'Try it out' URL is incorrect #9

Closed cforbesywam closed 3 years ago

cforbesywam commented 9 years ago

On the API documentation page http://api.joshuaproject.net/v1/docs/available_api_requests the 'Try it out' URLs point to http://jpapi.codingstudio.org however the Getting Started info show the API URL as http://api.joshuaproject.net (which works). None of the 'Try it out' buttons on the API Documentation page work due to the incorrect API URL and the example URL generate is also incorrect. For example the generated url is:

http://jpapi.codingstudio.org/v1/people_groups.json?api_key=API-KEY&continents=NAR&countries=CA

but it should be:

http://api.joshuaproject.net/v1/people_groups.json?api_key=API-KEY&continents=NAR&countries=CA

codemis commented 9 years ago

Thank you for the post! I will fix it as soon as possible.

codemis commented 9 years ago

A fix was pushed awhile ago (74e64b2957dbcd93e7e74a87740043882c086e9a), but has not been pulled into the new site yet. I informed Joshua Project to update their code.

cforbesywam commented 9 years ago

Great. Thank you! Colin

Blessings,

Colin


Colin Forbes IT Director Youth With A Mission Highfield Oval Harpenden, Herts AL5 4BX

Ph. +44 (0)1582-463289

Youth With A Mission Limited is registered in England & Wales Registered Company No. 1049516, Registered Charity No. 264078 Highfield Oval, Harpenden, Herts, AL5 4BX

From: Johnathan Pulos [mailto:notifications@github.com] Sent: 05 January 2015 23:41 To: MissionalDigerati/joshua_project_api Cc: cforbesywam Subject: Re: [joshua_project_api] API Documentation 'Try it out' URL is incorrect (#9)

A fix was pushed awhile ago ( https://github.com/MissionalDigerati/joshua_project_api/commit/74e64b2957dbcd93e7e74a87740043882c086e9a 74e64b2), but has not been pulled into the new site yet. I informed Joshua Project to update their code.

— Reply to this email directly or view it on GitHub https://github.com/MissionalDigerati/joshua_project_api/issues/9#issuecomment-68802686 . https://github.com/notifications/beacon/AJlOoyCp6xf-tzMaNE1WK4y4f6sY7cD9ks5nexijgaJpZM4DC7t5.gif

fhightower commented 3 years ago

I was just perusing some issues and look like this one can be closed.

codemis commented 3 years ago

@fhightower Thank you. I updated the code on the site, and everything works now.