lauriii / drupalcores

A project to generate a list of core contributers
http://drupalcores.com
MIT License
27 stars 38 forks source link

companies.rb takes forever, we can use Drupal.org API instead #45

Open pcambra opened 9 years ago

pcambra commented 9 years ago

I think one of the main causes is that goes and fetches the HTML, when this script was built there was no api, but now we have one: https://www.drupal.org/api We could make calls to the user:

https://www.drupal.org/api-d7/user/122101.json

Get the last organization

https://www.drupal.org/api-d7/user/122101.json

And the info from there:

https://www.drupal.org/api-d7/node/1269866.json

pcambra commented 9 years ago

Opened https://www.drupal.org/node/2431511 to see if there's some way to get the json for a user by the name and not the id.

lewisnyman commented 9 years ago

Nice, anyway we can save time with companies would be great.