moztn / moztn.github.com

Mozilla Tunisia projects dashboard
http://moztn.github.io
Apache License 2.0
1 stars 1 forks source link

Kamehameha API #3

Closed rednaks closed 9 years ago

rednaks commented 9 years ago

We are using the public, un-registred GithubAPI, but it's very limited (number of requests) and requires many connections from the client side, the result is very slow page loading and the limitation can be reached quickly.

So the Idea is to create a kind of ProxyAPI, that will gather the wanted data on our servers and "push" it only once to the clients. like the kamehameha :D

raed667 commented 9 years ago

I know that in some APIs (like 4sq) that violates the terms and conditions (tried to do that :wink: ). So if this is for a "formal" project check the terms before.

rednaks commented 9 years ago

IDK, they talk about excessive API usage, if this will violated the terms and condition we can always try to cache the data and update it each 1min decrease the access.

raed667 commented 9 years ago

IDK either just a heads up ;)

raed667 commented 9 years ago

GET http://vps.mozilla-tunisia.org:5000/ net::ERR_CONNECTION_RESET

rednaks commented 9 years ago

Yes, it's because of the mixed content :( (HTTPS/HTTP) I though github.io was http ... and a self signed cert wont fix that. This should be fixed as soon as we use a domain name instead of moztn.github.io

rednaks commented 9 years ago

Now it's fixed :) we should wait for DNS http://github.mozilla-tunisia.org/