Closed bajiat closed 8 years ago
@ashakunt Can you consider taking this task? You could additionally add some Codemenders APIs, if you want.
@bajiat I can take a look at this. I cannot estimate the hours right now since I would first need to pick the apis I would like to have here.
PS: We can add Codemenders APIs too. I will keep this bug posted.
@ashakunt Thanks for taking this. I think the rest of the team could also provide some suggestions on interesting APIs to add.
I was looking at the Helsinki city transport APIs briefly today. It was not very clear as to where and how should be use it (esp. documenting all its methods).
One quick example that comes to my mind is: Pet Store; the one on which all the swagger examples are based. I will still spend time on this tomorrow to find more apis which can be used. One interesting thing during the hackathon could also be the role of an apitalist. He creates an API, relevant documentation and then, uploads its methods to API umbrella. We can showcase how easy it is to be an apitalist. If no body signs up for this purpose, I will be happy doing it.
@ccsr what do you think?
Setting time limit as 20 since we need to look into existing APIs (and find their documentation). Its possible that the work might be quite smaller.
@bajiat what do you think about:
----8<---- One interesting thing during the hackathon could also be the role of an apitalist. He creates an API, relevant documentation and then, uploads its methods to API umbrella. We can showcase how easy it is to be an apitalist. If no body signs up for this purpose, I will be happy doing it. ----->8-----
@ashakunt I think it would be a good idea for the kick off. We probably need to showcase adding APIs to Apinf anyway, since we won't be able to add all APIs the participants might need in the hackathon.
Could we at least have the most typical ones like Google maps? Juuso was earlier commenting that some students have created apps based on Finnkino movie schedules, so I quess Finnkino has APIs too.
@ashakunt Are there any useful open APIs that could be added on the API Suomi page?
@bajiat and @ashakunt I have updated the task description and added a resources section.
@bajiat:
Finnkino is a good example. It has an XML based service. See this: http://www.finnkino.fi/XML; so this is a good match.
Another one is tkl, see examples here: http://developer.publictransport.tampere.fi/pages/en/siri.php
IMHO, we should also add the following:
https://developers.google.com/maps/documentation/geocoding/intro
@ashakunt, I have updated the Definition of Done to include the three APIs specified in recent comments. Please proceed with configuring Google Maps Geocoding, Finnkino, and TKL on the nightly.apinf.io platform.
@brylie, @bajiat:
I have added Google Geocoding APis but the access seems to be down.
https://nightly.apinf.com/google/maps/api/geocode/json?latlng=63.1,23.4&api_key=
OR
https://nightly.apinf.com/google1/maps/api/geocode/json?latlng=63.1,23.4&api_key=
(both added by me) return a connection refused.
Is this known?
(precisely: Google Chrome's connection attempt to nightly.apinf.com was rejected. The website may be down, or your network may not be properly configured.)
@ashakunt @brylie will take a look at this
First guess was SSL certificate not being in place on Apinf,io yet.
@ashakunt our API Umbrella instance is currently running on its own sub-domain. Try the requests using https://umbrella.apinf.io.
@brylie with umbrella.apinf.io: I get a 404 error when I try to use the APIs.
Further, it turns out that not all the backends that I added from nightly.apinf.io landed up to umbrella.apinf.io. I could find only one API available at umbrella.apinf.io. I think that the nightly is handling the URL in a wrong way. See below (backend host -> frontend host):
While, originally, in the umbrella, its like (frontend host -> backend host):
Some other comments:
@brylie @bajiat Your comments?
The inconsistency may arise from how we are deploying API Umbrella. Our Apinf deployment may have pointed to a different API Umbrella deployment at some point (e.g. apinf.com), and is only configured to pull API Backends from API Umbrella.
I have opened issue #446 to describe the API Backend data inconsistency.
and what about the 404 problem?
Checking now. Are you using an API key? Have you logged into https://umbrella.apinf.io to make sure the backend is configured there?
Yes sir.. :)
The above API is added in accordance with: http://apiumbrella.io/docs/getting-started/
I see the following entry for Google:
Name | Host | prefix |
---|---|---|
Google Geocoding APIs | localhost | /google/ |
Yes. That's correct.
OK, so it seems like the API Backend exists. How can we troubleshoot the 404?
Perhaps the 'localhost' needs to change to umbrella.apinf.io
Tried with that already. Does not work. (see the testing entry for google geocoding apis)
Alright, please open a support request on API Umbrella issue tracker. We may need help in troubleshooting this issue.
can you or anyone in team who has access to umbrella.apinf.io provide the versoin of the umbrella?
You can also log in to the admin interface with "aseem at samposoftware ... "
@brylie I am already using that.
Alright, cool. Well the UI doesn't display the version of API Umbrella, so we need to check on the server-side.
I actually meant the same, so can you ask @elnzv or someone else who has access?
@elnzv will you please check the version number of API Umbrella that is running on umbrella.apinf.io?
@ashakunt it is 0.8.0
Thanks, @elnzv
@elnzv / @ccsr can you please provide the following information from umbrella.apinf.io
/opt/api-umbrella/etc/nginx/backends.conf
sudo /etc/init.d/api-umbrella restart
OR provide me a sudo access to the machine so that I can check them myself?
(refer: https://github.com/NREL/api-umbrella/issues/168#issuecomment-138809483)
@elnzv Will you take a look at Aseem's request above?
@ashakunt I think the best way is to have a sudo access. I can provide you my credentials via email or you can ask Chandra for your's.
@ashakunt You have sudo access to umbrella.apinf.io Let me know if you are not able log in
@ccsr able to login with sudo access now. Providing the relevant information to @GUI now. :)
@ashakunt @elnzv Illya is changing the certificate and lets check that option also
@ccsr, I fixed the original issue. So, now every thing is OK.
@bajiat @brylie @elnzv @ccsr @apinf/developers @apinf/owners Please do not do any changes to umbrella.apinf.io since it might break the installation again. This is for your info.
Once Apinf has been deployed on Apinf.io, configure several example open data APIs to catalog.
Definition of done
Resources
The following sources may prove beneficial when selecting Open Data APIs for this tack.