Hey @KowalityK
You can use the GET users/show endpoint to convert the @handle to a name. See the example below (for @iamsrk)
Request
twurl -H "api.twitter.com" -X GET "/1.1/users/show.json?screen_name=iamsrk" | jq .
Response
{
"id": 101311381,
"id_str": "101311381",
"name": "Shah Rukh Khan",
"screen_name": "iamsrk",
"location": "",
"profile_location": null,
"description": "",
"url": "http://t.co/rgTV59DRJ7",
"entities": {
"url": {
"urls": [
{
"url": "http://t.co/rgTV59DRJ7",
"expanded_url": "https://twitter.com/iamsrk",
"display_url": "twitter.com/iamsrk",
"indices": [
0,
22
]
}
]
},
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 23457274,
"friends_count": 81,
"listed_count": 29392,
"created_at": "Sat Jan 02 20:55:43 +0000 2010",
"favourites_count": 13,
"utc_offset": -32400,
"time_zone": "Alaska",
"geo_enabled": true,
"verified": true,
"statuses_count": 56246,
"lang": "en",
"status": {
"created_at": "Tue Feb 21 20:18:14 +0000 2017",
"id": 834135161356824600,
"id_str": "834135161356824578",
"text": "Hope u r well and thank u for the revisit. But I must say u do overstate the importance of Rajma Chawal. https://t.co/qi5vX2zhRk",
"truncated": false,
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": [
{
"url": "https://t.co/qi5vX2zhRk",
"expanded_url": "https://twitter.com/Shakti_Shetty/status/833377356047798272",
"display_url": "twitter.com/Shakti_Shetty/…",
"indices": [
106,
129
]
}
]
},
"source": "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"is_quote_status": true,
"quoted_status_id": 833377356047798300,
"quoted_status_id_str": "833377356047798272",
"retweet_count": 422,
"favorite_count": 1416,
"favorited": false,
"retweeted": false,
"possibly_sensitive": false,
"lang": "en"
},
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "022330",
"profile_background_image_url": "http://pbs.twimg.com/profile_background_images/137435577/new1.jpg",
"profile_background_image_url_https": "https://pbs.twimg.com/profile_background_images/137435577/new1.jpg",
"profile_background_tile": true,
"profile_image_url": "http://pbs.twimg.com/profile_images/661679664/keep_it_onn_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/661679664/keep_it_onn_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/101311381/1454256204",
"profile_link_color": "0084B4",
"profile_sidebar_border_color": "A8C7F7",
"profile_sidebar_fill_color": "C0DFEC",
"profile_text_color": "333333",
"profile_use_background_image": true,
"has_extended_profile": false,
"default_profile": false,
"default_profile_image": false,
"pinned_tweet_ids": [],
"following": false,
"follow_request_sent": false,
"notifications": false,
"translator_type": "regular"
}