Socialmetrica/Datanalitica.package/TwitterAPI.class/instance/userIDFrom..st

5 lines
193 B
Smalltalk
Raw Normal View History

queries
userIDFrom: username
| rawResponse |
rawResponse := self rawResponseForURL: self usersBaseEndPoint, 'by/username/', username.
^ (STONJSON fromString: rawResponse) at: 'data' at: 'id'