Open pcambra opened 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
And the info from there:
https://www.drupal.org/api-d7/node/1269866.json
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.
Nice, anyway we can save time with companies would be great.
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