Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where are datas in the app from? #28

Open
binbinla opened this issue Nov 27, 2017 · 5 comments
Open

where are datas in the app from? #28

binbinla opened this issue Nov 27, 2017 · 5 comments

Comments

@binbinla
Copy link

hello,I'm confused about where your datas in the app from?Can you please tell me about this?

@wwayne
Copy link
Owner

wwayne commented Nov 27, 2017

@binbinla It was scraped from the official NBA.com https://github.com/wwayne/react-native-nba-app/blob/master/app/channel/address.js#L18
I'm not sure if it is still available

@ghost
Copy link

ghost commented Dec 5, 2017

Its still available
Sample: http://data.nba.com/data/json/cms/2017/league/standings.json

@binbinla
Copy link
Author

Thanks a lot

@binbinla
Copy link
Author

binbinla commented Apr 20, 2018

@wwayne Hello , I was trying to scraped datas from the website you offered in https://github.com/wwayne/react-native-nba-app/blob/master/app/channel/address.js#L18 . Here is the problem : I used window.fetch(url) to finish the network request , it worked for the website started with 'http://data.nba.com/' , but it didn't work for the website started with 'http://stats.nba.com/' . I couldn't figured out why , could you please help me point out . Thanks.

@wwayne
Copy link
Owner

wwayne commented Apr 20, 2018

@binbinla Sorry I have no idea for that, it may relate to the NBA official websites security policy, I would suggest you use whatever works for you

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

No branches or pull requests

2 participants