0

How to get a field list and their types of the result of the Twitter REST API? Forexample, Fields of the following twitter REST API is

https://api.twitter.com/1.1/users/show.json?screen_name=sachin_rt

Screen Name,Id,Location,followers count,friends count,created date etc... I was able to get entire fields with value,But my target is to get only field name and it's type(data type)

Vinod Kumar
  • 408
  • 4
  • 18

1 Answers1

0

There is Twitter documentation for the entities it returns. In the example above, the users/show endpoint is here:

https://dev.twitter.com/rest/reference/get/users/show

and on that page, you'll find a link to the User entity, which is here:

https://dev.twitter.com/overview/api/users

Joe Mayo
  • 7,501
  • 7
  • 41
  • 60