Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Use API instead of S3 to get the current dataset .zip #36

Open
xanderdunn opened this issue Nov 12, 2017 · 5 comments
Open

Use API instead of S3 to get the current dataset .zip #36

xanderdunn opened this issue Nov 12, 2017 · 5 comments

Comments

@xanderdunn
Copy link
Contributor

xanderdunn commented Nov 12, 2017

Bounty: 10NMR

@gronnbeck
Copy link

So, all I'm struggling to find out where the zip files are located. I'm able to use the GraphQL API and fetch relevant data but having a hard time building the HTTP URL to fetch the zip file. Is it part of the task to try to reverse engineer that?

@xanderdunn
Copy link
Contributor Author

wget --verbose https://api.numer.ai/competitions/current/dataset

@sovaa
Copy link

sovaa commented Dec 1, 2017

$ wget --verbose https://api.numer.ai/competitions/current/dataset
--2017-12-01 23:03:23--  https://api.numer.ai/competitions/current/dataset
Resolving api.numer.ai (api.numer.ai)... 104.24.28.86, 104.24.29.86, 2400:cb00:2048:1::6818:1c56, ...
Connecting to api.numer.ai (api.numer.ai)|104.24.28.86|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2017-12-01 23:03:24 ERROR 500: Internal Server Error.

Curl gives the error message:

{"name":"Error","message":"An error occurred. If the problem persists please contact support and try again.","status":500}

What should this issue accomplish? A curl-able url /competitions/current/dataset that returns the zip file? Or a python method in the api lib to get the file?

@sovaa
Copy link

sovaa commented Dec 17, 2017

API should be on pypi first to be able to do this: https://github.com/numerai/NumerAPI/issues/14

@csp197
Copy link

csp197 commented May 27, 2019

@xanderdunn - Is this bounty still open?
If so, I'd certainly like to resolve it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants