I am trying to retrieve the whole list "Field of Study" from Microsoft Academic Graph for the level 0 FieldOfStudy "Computer Science". So far, I have the following curl code to retrieve fields in general:
curl -X POST \
https://api.labs.cognitive.microsoft.com/academic/v1.0/evaluate \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Ocp-Apim-Subscription-Key: my_subscription_key' \
-d 'expr=Ty%3D'\''6'\''&attributes=Id%2CFL%2CFN%2CFC.FN%2CFP.FN%2CFC.FId%2CFP.FId'
This does not throw any error, but it needs further amendments so that it retrieves:
- All sub-fields of studies (children, grandchildren, etc.) of the field of study "Computer Science".
- Not being limited to the first 1000 field of studies (max limit of POST evaluate).
Although I am doing this in curl, I would also be open to a python approach in case it is a better choice.