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

Skip to first unread message

Oxxx Cxxx

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

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
* Connected to footballdb.herokuapp.com ( 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?


Gerald Bauer

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

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

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
0 new messages