These are chat archives for FreeCodeCamp/DataScience

25th
Mar 2016
Alice Jiang
@becausealice2
Mar 25 2016 01:22
@evaristoc I FIGURED IT OUT :D :D :D
I have to actually do the work, but I know what I'm doing finally ;)
:eyes: Github
Alice Jiang
@becausealice2
Mar 25 2016 04:08
@evaristoc https://github.com/alicejiang1/FccCityScraper output.json shows the data from my most recent scrape. server.js is the complete scraper.
selectors in selectors in selectors
selectorception
evaristoc
@evaristoc
Mar 25 2016 12:49
@alicejiang1 I saw it: good one, doctorisima!!!!!
Roel Verbunt
@roelver
Mar 25 2016 14:24

About the API....
There is a milestone on Github for the API. The first version will be hosted on Heroku with FCC data coming in by manual file synchronization. So it will not be realtime in the first release. The database for the API is an export of the FCC users collection, enriched with summary counts over the completed challenges.
The REST API will have 2 endpoints. One is returning an array of users (max 100 per request), extended with the challenge counts (alltime/past 30 days). The other endpoint will return all available data for a single user (by username), with the solution code for completed challenges and the URLs for completed projects.

I looked for some API frameworks to use: Loopback and FeathersJS. But the required API is very simple, and will probably stay that way for some time, since there's only user data to expose. Any other CRUD operations are not allowed via the API. That's why I will just build it with Express routes and controllers. See a more detailed design.

CamperBot
@camperbot
Mar 25 2016 14:24
you need to ask about @someone!
evaristoc
@evaristoc
Mar 25 2016 18:51

@roelver Thanks

People:

If you can give a hand to test the API?

Please ask @roelver...


And in other order of ideas: how to turn an AI chatbot into a a!#$#% racist :
http://www.bbc.com/news/technology-35890188

CamperBot
@camperbot
Mar 25 2016 18:51
evaristoc sends brownie points to @roelver :sparkles: :thumbsup: :sparkles:
:star: 526 | @roelver | http://www.freecodecamp.com/roelver
Roel Verbunt
@roelver
Mar 25 2016 20:12
@evaristoc Ehh... It's not ready yet.
Roel Verbunt
@roelver
Mar 25 2016 23:09
I deployed a dummy app on Heroku to claim https://fccapi.herokuapp.com/ for the first API release. There's no data yet and the endpoints are just returning a text, but the welcome page is a teaser.