Hi. problemsn when i try to request some info fron the public domain

18 views
Skip to first unread message

Oxxx Cxxx

unread,
Sep 14, 2020, 10:29:07 AM9/14/20
to opensport
Hello.

I try to check how the app work to implemente a small script to check data, on the public domain. and i have this little problem:

*   Trying 54.175.226.183...
* Connected to footballdb.herokuapp.com (54.175.226.183) port 80 (#0)
> GET /api/v1/event/en.2018_19/round/2 HTTP/1.1
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Mon, 14 Sep 2020 09:11:04 GMT
< Connection: keep-alive
< Content-Type: text/html; charset=UTF-8
< Content-Length: 728
< X-Request-Id: ebda8592-3cff-4cee-92ed-1b5465d9a97a
< X-Runtime: 0.002575
< Server: thin
< Via: 1.1 vegur

what am i doing wrong with the request?

Thx


Gerald Bauer

unread,
Sep 14, 2020, 10:35:11 AM9/14/20
to open...@googlegroups.com
Hello,

Thanks for trying the json service. The herokuapp is just a
(temporary) example that always stops running when the monthly (free)
dyna hours run out.
Please, use the "static" always-on json service hosted on github,
see /football.json [1]

In your case:

> curl -vvv 'http://footballdb.herokuapp.com/api/v1/event/en.2018_19/round/2'

change to:

curl -vvv 'https://raw.githubusercontent.com/openfootball/football.json/master/2018-19/en.1.json'

and retry. All the best. Cheers. Prost.

[1] https://github.com/openfootball/football.json

oscar cuellas

unread,
Sep 15, 2020, 8:18:50 AM9/15/20
to open...@googlegroups.com
Ok. Thx  i will try it

--
You received this message because you are subscribed to the Google Groups "opensport" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opensport+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opensport/CAAxEZd9zBpsvDnRBGgRitOJDzueyBz6NddvW4X8S1T2-R_wt0A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages