x_api_scraper 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/crystalline/enum.rbi +17 -0
- data/lib/crystalline/metadata_fields.rb +265 -0
- data/lib/crystalline/module.rb +188 -0
- data/lib/crystalline/types.rb +170 -0
- data/lib/crystalline/utils.rb +69 -0
- data/lib/crystalline.rb +13 -0
- data/lib/x_api_scraper.rb +41 -0
- data/lib/xapi_scraper/account.rb +194 -0
- data/lib/xapi_scraper/actions.rb +2166 -0
- data/lib/xapi_scraper/analysis.rb +230 -0
- data/lib/xapi_scraper/articles.rb +410 -0
- data/lib/xapi_scraper/client.rb +133 -0
- data/lib/xapi_scraper/communities.rb +1352 -0
- data/lib/xapi_scraper/dm.rb +990 -0
- data/lib/xapi_scraper/engagement.rb +792 -0
- data/lib/xapi_scraper/followers.rb +420 -0
- data/lib/xapi_scraper/following.rb +230 -0
- data/lib/xapi_scraper/lists.rb +1156 -0
- data/lib/xapi_scraper/models/callbacks.rb +12 -0
- data/lib/xapi_scraper/models/components/accountverifymodel.rb +82 -0
- data/lib/xapi_scraper/models/components/accountverifymodel.rbi +38 -0
- data/lib/xapi_scraper/models/components/accountverifyresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/accountverifyresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/advancedsearchcursorquery.rb +51 -0
- data/lib/xapi_scraper/models/components/advancedsearchcursorquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/advancedsearchcursorresponse.rb +76 -0
- data/lib/xapi_scraper/models/components/advancedsearchcursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/articleblock.rb +50 -0
- data/lib/xapi_scraper/models/components/articleblock.rbi +26 -0
- data/lib/xapi_scraper/models/components/articleblockrange.rb +47 -0
- data/lib/xapi_scraper/models/components/articleblockrange.rbi +26 -0
- data/lib/xapi_scraper/models/components/blockuserresponse.rb +54 -0
- data/lib/xapi_scraper/models/components/blockuserresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/bookmarkbody.rb +43 -0
- data/lib/xapi_scraper/models/components/bookmarkbody.rbi +20 -0
- data/lib/xapi_scraper/models/components/cashtagsquery.rb +192 -0
- data/lib/xapi_scraper/models/components/cashtagsquery.rbi +98 -0
- data/lib/xapi_scraper/models/components/cashtagsquery_language.rb +76 -0
- data/lib/xapi_scraper/models/components/cashtagsquery_language.rbi +9 -0
- data/lib/xapi_scraper/models/components/cashtagsquery_sortby.rb +18 -0
- data/lib/xapi_scraper/models/components/cashtagsquery_sortby.rbi +9 -0
- data/lib/xapi_scraper/models/components/communitymodel.rb +164 -0
- data/lib/xapi_scraper/models/components/communitymodel.rbi +92 -0
- data/lib/xapi_scraper/models/components/communitytweetsresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/communitytweetsresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/context.rb +25 -0
- data/lib/xapi_scraper/models/components/context.rbi +9 -0
- data/lib/xapi_scraper/models/components/conversationv3model.rb +57 -0
- data/lib/xapi_scraper/models/components/conversationv3model.rbi +32 -0
- data/lib/xapi_scraper/models/components/createthreaddata.rb +35 -0
- data/lib/xapi_scraper/models/components/createthreaddata.rbi +14 -0
- data/lib/xapi_scraper/models/components/createthreadquery.rb +51 -0
- data/lib/xapi_scraper/models/components/createthreadquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/createthreadresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/createthreadresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/createthreadtweetitem.rb +31 -0
- data/lib/xapi_scraper/models/components/createthreadtweetitem.rbi +14 -0
- data/lib/xapi_scraper/models/components/deletebookmarkquery.rb +35 -0
- data/lib/xapi_scraper/models/components/deletebookmarkquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/deleteretweetquery.rb +35 -0
- data/lib/xapi_scraper/models/components/deleteretweetquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/deletetweetquery.rb +51 -0
- data/lib/xapi_scraper/models/components/deletetweetquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/deletetweetresponse.rb +51 -0
- data/lib/xapi_scraper/models/components/deletetweetresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/dmhistoryv3data.rb +54 -0
- data/lib/xapi_scraper/models/components/dmhistoryv3data.rbi +26 -0
- data/lib/xapi_scraper/models/components/dmstatusmodelv2.rb +122 -0
- data/lib/xapi_scraper/models/components/dmstatusmodelv2.rbi +62 -0
- data/lib/xapi_scraper/models/components/dmstatusresponsev2.rb +47 -0
- data/lib/xapi_scraper/models/components/dmstatusresponsev2.rbi +26 -0
- data/lib/xapi_scraper/models/components/followersfollowingv3query.rb +51 -0
- data/lib/xapi_scraper/models/components/followersfollowingv3query.rbi +26 -0
- data/lib/xapi_scraper/models/components/followuserquery.rb +43 -0
- data/lib/xapi_scraper/models/components/followuserquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getalltweetsrepliescursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getalltweetsrepliescursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getalltweetsrepliescursorresponse.rb +76 -0
- data/lib/xapi_scraper/models/components/getalltweetsrepliescursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getcommunitymemberscursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getcommunitymemberscursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getcommunitymemberscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getcommunitymemberscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getcommunityresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/getcommunityresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/getcommunitytweetscursorquery.rb +60 -0
- data/lib/xapi_scraper/models/components/getcommunitytweetscursorquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/getcommunitytweetscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getcommunitytweetscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getconversationsv3query.rb +62 -0
- data/lib/xapi_scraper/models/components/getconversationsv3query.rbi +32 -0
- data/lib/xapi_scraper/models/components/getconversationsv3response.rb +47 -0
- data/lib/xapi_scraper/models/components/getconversationsv3response.rbi +26 -0
- data/lib/xapi_scraper/models/components/getdmhistoryv3query.rb +94 -0
- data/lib/xapi_scraper/models/components/getdmhistoryv3query.rbi +50 -0
- data/lib/xapi_scraper/models/components/getdmhistoryv3response.rb +47 -0
- data/lib/xapi_scraper/models/components/getdmhistoryv3response.rbi +26 -0
- data/lib/xapi_scraper/models/components/getdmmediav3data.rb +77 -0
- data/lib/xapi_scraper/models/components/getdmmediav3data.rbi +44 -0
- data/lib/xapi_scraper/models/components/getdmmediav3query.rb +112 -0
- data/lib/xapi_scraper/models/components/getdmmediav3query.rbi +56 -0
- data/lib/xapi_scraper/models/components/getdmmediav3response.rb +47 -0
- data/lib/xapi_scraper/models/components/getdmmediav3response.rbi +26 -0
- data/lib/xapi_scraper/models/components/getlistmemberscursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getlistmemberscursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getlistmemberscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getlistmemberscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getlisttweetscursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getlisttweetscursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getlisttweetscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getlisttweetscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getquotescursorquery.rb +63 -0
- data/lib/xapi_scraper/models/components/getquotescursorquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/getquotescursorquery_sort_by.rb +18 -0
- data/lib/xapi_scraper/models/components/getquotescursorquery_sort_by.rbi +9 -0
- data/lib/xapi_scraper/models/components/getquotescursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getquotescursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/getquotesquery.rb +59 -0
- data/lib/xapi_scraper/models/components/getquotesquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/getquotesquery_sort_by.rb +18 -0
- data/lib/xapi_scraper/models/components/getquotesquery_sort_by.rbi +9 -0
- data/lib/xapi_scraper/models/components/getquotesresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/getquotesresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/getrepliespagequery.rb +51 -0
- data/lib/xapi_scraper/models/components/getrepliespagequery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getrepliespagequery_sort_by.rb +19 -0
- data/lib/xapi_scraper/models/components/getrepliespagequery_sort_by.rbi +9 -0
- data/lib/xapi_scraper/models/components/getrepliespageresponse.rb +85 -0
- data/lib/xapi_scraper/models/components/getrepliespageresponse.rbi +44 -0
- data/lib/xapi_scraper/models/components/getretweeterscursorquery.rb +43 -0
- data/lib/xapi_scraper/models/components/getretweeterscursorquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/getretweeterscursorresponse.rb +72 -0
- data/lib/xapi_scraper/models/components/getretweeterscursorresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/gettweetsbyidresponse.rb +58 -0
- data/lib/xapi_scraper/models/components/gettweetsbyidresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/hashtagsquery.rb +192 -0
- data/lib/xapi_scraper/models/components/hashtagsquery.rbi +98 -0
- data/lib/xapi_scraper/models/components/hashtagsquery_language.rb +76 -0
- data/lib/xapi_scraper/models/components/hashtagsquery_language.rbi +9 -0
- data/lib/xapi_scraper/models/components/hashtagsquery_sortby.rb +18 -0
- data/lib/xapi_scraper/models/components/hashtagsquery_sortby.rbi +9 -0
- data/lib/xapi_scraper/models/components/likeactionbody.rb +43 -0
- data/lib/xapi_scraper/models/components/likeactionbody.rbi +20 -0
- data/lib/xapi_scraper/models/components/listmembersresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/listmembersresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/listmodel.rb +77 -0
- data/lib/xapi_scraper/models/components/listmodel.rbi +44 -0
- data/lib/xapi_scraper/models/components/listsubscribersresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/listsubscribersresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/listtweetsresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/listtweetsresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/loc.rb +25 -0
- data/lib/xapi_scraper/models/components/loc.rbi +9 -0
- data/lib/xapi_scraper/models/components/mediamodel.rb +194 -0
- data/lib/xapi_scraper/models/components/mediamodel.rbi +110 -0
- data/lib/xapi_scraper/models/components/messagemodel.rb +100 -0
- data/lib/xapi_scraper/models/components/messagemodel.rbi +56 -0
- data/lib/xapi_scraper/models/components/posttweetdata.rb +51 -0
- data/lib/xapi_scraper/models/components/posttweetdata.rbi +26 -0
- data/lib/xapi_scraper/models/components/posttweetquery.rb +122 -0
- data/lib/xapi_scraper/models/components/posttweetquery.rbi +62 -0
- data/lib/xapi_scraper/models/components/posttweetresponse.rb +58 -0
- data/lib/xapi_scraper/models/components/posttweetresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/posttweetwithoutcookiequery.rb +102 -0
- data/lib/xapi_scraper/models/components/posttweetwithoutcookiequery.rbi +50 -0
- data/lib/xapi_scraper/models/components/quotetweetquery.rb +112 -0
- data/lib/xapi_scraper/models/components/quotetweetquery.rbi +56 -0
- data/lib/xapi_scraper/models/components/retweetactionbody.rb +43 -0
- data/lib/xapi_scraper/models/components/retweetactionbody.rbi +20 -0
- data/lib/xapi_scraper/models/components/searchcommunityquery.rb +43 -0
- data/lib/xapi_scraper/models/components/searchcommunityquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/searchcommunityresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/searchcommunityresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/searchcommunitytweetsquery.rb +51 -0
- data/lib/xapi_scraper/models/components/searchcommunitytweetsquery.rbi +26 -0
- data/lib/xapi_scraper/models/components/searchlistquery.rb +43 -0
- data/lib/xapi_scraper/models/components/searchlistquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/searchlistresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/searchlistresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/searchresponse.rb +54 -0
- data/lib/xapi_scraper/models/components/searchresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/searchuserresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/searchuserresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/security.rb +34 -0
- data/lib/xapi_scraper/models/components/security.rbi +14 -0
- data/lib/xapi_scraper/models/components/senddmresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/senddmresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/senddmv3query.rb +90 -0
- data/lib/xapi_scraper/models/components/senddmv3query.rbi +50 -0
- data/lib/xapi_scraper/models/components/sentimentanalysismodel.rb +43 -0
- data/lib/xapi_scraper/models/components/sentimentanalysismodel.rbi +20 -0
- data/lib/xapi_scraper/models/components/sentimentanalysisquery.rb +31 -0
- data/lib/xapi_scraper/models/components/sentimentanalysisquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/sentimentanalysisresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/sentimentanalysisresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/standardresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/standardresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/streammodel.rb +51 -0
- data/lib/xapi_scraper/models/components/streammodel.rbi +26 -0
- data/lib/xapi_scraper/models/components/tweet_type.rb +19 -0
- data/lib/xapi_scraper/models/components/tweet_type.rbi +9 -0
- data/lib/xapi_scraper/models/components/tweetactionresponse.rb +51 -0
- data/lib/xapi_scraper/models/components/tweetactionresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/tweetmodel.rb +518 -0
- data/lib/xapi_scraper/models/components/tweetmodel.rbi +302 -0
- data/lib/xapi_scraper/models/components/tweetthreadbyidbody.rb +53 -0
- data/lib/xapi_scraper/models/components/tweetthreadbyidbody.rbi +26 -0
- data/lib/xapi_scraper/models/components/twitteraccountbasedstandardresponse.rb +58 -0
- data/lib/xapi_scraper/models/components/twitteraccountbasedstandardresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/twitteruseraboutresponse.rb +208 -0
- data/lib/xapi_scraper/models/components/twitteruseraboutresponse.rbi +116 -0
- data/lib/xapi_scraper/models/components/twitteruseraboutstandardresponse.rb +58 -0
- data/lib/xapi_scraper/models/components/twitteruseraboutstandardresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/unfavoritetweetquery.rb +35 -0
- data/lib/xapi_scraper/models/components/unfavoritetweetquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/unfollowuserquery.rb +43 -0
- data/lib/xapi_scraper/models/components/unfollowuserquery.rbi +20 -0
- data/lib/xapi_scraper/models/components/unfollowuserresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/unfollowuserresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/urlmodel.rb +47 -0
- data/lib/xapi_scraper/models/components/urlmodel.rbi +26 -0
- data/lib/xapi_scraper/models/components/userinfo.rb +348 -0
- data/lib/xapi_scraper/models/components/userinfo.rbi +200 -0
- data/lib/xapi_scraper/models/components/usermodel.rb +344 -0
- data/lib/xapi_scraper/models/components/usermodel.rbi +200 -0
- data/lib/xapi_scraper/models/components/usersdetailsresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/usersdetailsresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/usertimelinefillquery.rb +35 -0
- data/lib/xapi_scraper/models/components/usertimelinefillquery.rbi +14 -0
- data/lib/xapi_scraper/models/components/usertimelinepagequery.rb +43 -0
- data/lib/xapi_scraper/models/components/usertimelinepagequery.rbi +20 -0
- data/lib/xapi_scraper/models/components/usertimelinepageresponse.rb +112 -0
- data/lib/xapi_scraper/models/components/usertimelinepageresponse.rbi +56 -0
- data/lib/xapi_scraper/models/components/usertimelineresponse.rb +76 -0
- data/lib/xapi_scraper/models/components/usertimelineresponse.rbi +38 -0
- data/lib/xapi_scraper/models/components/usertweetitem.rb +225 -0
- data/lib/xapi_scraper/models/components/usertweetitem.rbi +122 -0
- data/lib/xapi_scraper/models/components/validationerror.rb +67 -0
- data/lib/xapi_scraper/models/components/validationerror.rbi +38 -0
- data/lib/xapi_scraper/models/components/verifiedfollowersdata.rb +58 -0
- data/lib/xapi_scraper/models/components/verifiedfollowersdata.rbi +26 -0
- data/lib/xapi_scraper/models/components/verifiedfollowersresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/verifiedfollowersresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components/xarticlemodel.rb +305 -0
- data/lib/xapi_scraper/models/components/xarticlemodel.rbi +170 -0
- data/lib/xapi_scraper/models/components/xarticleresponse.rb +47 -0
- data/lib/xapi_scraper/models/components/xarticleresponse.rbi +26 -0
- data/lib/xapi_scraper/models/components.rb +128 -0
- data/lib/xapi_scraper/models/errors/apierror.rb +39 -0
- data/lib/xapi_scraper/models/errors/apierror.rbi +27 -0
- data/lib/xapi_scraper/models/errors/httpvalidationerror.rb +48 -0
- data/lib/xapi_scraper/models/errors/httpvalidationerror.rbi +20 -0
- data/lib/xapi_scraper/models/errors.rb +13 -0
- data/lib/xapi_scraper/models/operations/accountgetbalance_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/accountgetbalance_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/analysissentiment_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/analysissentiment_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/articlesfetch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/articlesfetch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/articlesmarkdown_request.rb +31 -0
- data/lib/xapi_scraper/models/operations/articlesmarkdown_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/articlesmarkdown_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/articlesmarkdown_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiesget_request.rb +34 -0
- data/lib/xapi_scraper/models/operations/communitiesget_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/communitiesget_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiesget_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiesmembers_request.rb +42 -0
- data/lib/xapi_scraper/models/operations/communitiesmembers_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/communitiesmembers_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiesmembers_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiesmemberspage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/communitiesmemberspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiessearch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiessearch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiessearchtweets_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiessearchtweets_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiestweets_request.rb +50 -0
- data/lib/xapi_scraper/models/operations/communitiestweets_request.rbi +26 -0
- data/lib/xapi_scraper/models/operations/communitiestweets_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/communitiestweets_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/communitiestweetspage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/communitiestweetspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/country.rb +79 -0
- data/lib/xapi_scraper/models/operations/country.rbi +9 -0
- data/lib/xapi_scraper/models/operations/dmconversations_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmconversations_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/dmhistory_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmhistory_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/dmmedia_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmmedia_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/dmsend_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmsend_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/dmstatus_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/dmstatus_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/listsmembers_request.rb +38 -0
- data/lib/xapi_scraper/models/operations/listsmembers_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/listsmembers_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/listsmembers_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/listsmemberspage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/listsmemberspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/listssearch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/listssearch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/listssubscribers_request.rb +38 -0
- data/lib/xapi_scraper/models/operations/listssubscribers_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/listssubscribers_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/listssubscribers_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/liststweets_request.rb +38 -0
- data/lib/xapi_scraper/models/operations/liststweets_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/liststweets_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/liststweets_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/liststweetspage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/liststweetspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/searchadvanced_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/searchadvanced_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/searchcashtags_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/searchcashtags_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/searchhashtags_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/searchhashtags_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandreplies_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandreplies_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandreplies_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandreplies_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandrepliespage_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/timelinestweetsandrepliespage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/timelinesuser_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/timelinesuser_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/timelinesuser_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/timelinesuser_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/timelinesuserpage_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/timelinesuserpage_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/timelinesuserpage_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/timelinesuserpage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingbycountry_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/trendingbycountry_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/trendingbycountry_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingbycountry_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingcontents_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/trendingcontents_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/trendingcontents_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingcontents_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingcountries_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingcountries_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingtopics_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingtopics_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingtweets_request.rb +63 -0
- data/lib/xapi_scraper/models/operations/trendingtweets_request.rbi +32 -0
- data/lib/xapi_scraper/models/operations/trendingtweets_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/trendingtweets_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweet_type.rb +19 -0
- data/lib/xapi_scraper/models/operations/tweet_type.rbi +9 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsbookmark_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsbookmark_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsbookmark_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsbookmark_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreate_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreate_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreatethread_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreatethread_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreatewithoutcookie_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionscreatewithoutcookie_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsdeletebatch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsdeletebatch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionslike_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionslike_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionslike_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionslike_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsquote_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsquote_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsretweet_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsretweet_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsretweet_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsretweet_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunbookmark_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunbookmark_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunbookmark_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunbookmark_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunlike_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunlike_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunlike_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunlike_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunretweet_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunretweet_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunretweet_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsactionsunretweet_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsdetail_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsdetail_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementquotes_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementquotes_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementquotespage_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementquotespage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeters_request.rb +39 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeters_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeters_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeters_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeterspage_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsengagementretweeterspage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetslookup_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetslookup_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsrepliespage_request.rb +35 -0
- data/lib/xapi_scraper/models/operations/tweetsrepliespage_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/tweetsrepliespage_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsrepliespage_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetssimilar_request.rb +30 -0
- data/lib/xapi_scraper/models/operations/tweetssimilar_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/tweetssimilar_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetssimilar_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/tweetsthread_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/tweetsthread_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersfollow_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersfollow_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersfollowerslist_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersfollowerslist_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersfollowersverified_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersfollowersverified_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersfollowinglist_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersfollowinglist_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetabout_request.rb +31 -0
- data/lib/xapi_scraper/models/operations/usersgetabout_request.rbi +14 -0
- data/lib/xapi_scraper/models/operations/usersgetabout_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/usersgetabout_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetaccountbased_response.rb +54 -0
- data/lib/xapi_scraper/models/operations/usersgetaccountbased_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetbyids_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersgetbyids_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetbyusernames_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersgetbyusernames_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersgetstatuses_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersgetstatuses_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/userssearch_request.rb +39 -0
- data/lib/xapi_scraper/models/operations/userssearch_request.rbi +20 -0
- data/lib/xapi_scraper/models/operations/userssearch_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/userssearch_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersunfollow_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersunfollow_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations/usersverifyaccount_response.rb +51 -0
- data/lib/xapi_scraper/models/operations/usersverifyaccount_response.rbi +32 -0
- data/lib/xapi_scraper/models/operations.rb +127 -0
- data/lib/xapi_scraper/replies.rb +235 -0
- data/lib/xapi_scraper/sdk_hooks/hooks.rb +99 -0
- data/lib/xapi_scraper/sdk_hooks/registration.rb +34 -0
- data/lib/xapi_scraper/sdk_hooks/types.rb +180 -0
- data/lib/xapi_scraper/sdkconfiguration.rb +107 -0
- data/lib/xapi_scraper/sdkconfiguration.rbi +83 -0
- data/lib/xapi_scraper/search.rb +610 -0
- data/lib/xapi_scraper/timelines.rb +805 -0
- data/lib/xapi_scraper/trending.rb +888 -0
- data/lib/xapi_scraper/tweets.rb +801 -0
- data/lib/xapi_scraper/users.rb +1748 -0
- data/lib/xapi_scraper/utils/forms.rb +232 -0
- data/lib/xapi_scraper/utils/headers.rb +82 -0
- data/lib/xapi_scraper/utils/query_params.rb +167 -0
- data/lib/xapi_scraper/utils/request_bodies.rb +79 -0
- data/lib/xapi_scraper/utils/retries.rb +139 -0
- data/lib/xapi_scraper/utils/security.rb +158 -0
- data/lib/xapi_scraper/utils/url.rb +124 -0
- data/lib/xapi_scraper/utils/utils.rb +241 -0
- metadata +720 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
module XapiScraper
|
|
7
|
+
module Models
|
|
8
|
+
module Components
|
|
9
|
+
# User information structure
|
|
10
|
+
class UserInfo
|
|
11
|
+
extend T::Sig
|
|
12
|
+
include Crystalline::MetadataFields
|
|
13
|
+
|
|
14
|
+
# User ID
|
|
15
|
+
field(
|
|
16
|
+
:user_id,
|
|
17
|
+
::String,
|
|
18
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("userId"), required: true}}
|
|
19
|
+
)
|
|
20
|
+
# Blue verification status
|
|
21
|
+
field(
|
|
22
|
+
:is_blue_verified,
|
|
23
|
+
Crystalline::Boolean.new,
|
|
24
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("isBlueVerified"), required: true}}
|
|
25
|
+
)
|
|
26
|
+
# Account creation date
|
|
27
|
+
field(
|
|
28
|
+
:created_at,
|
|
29
|
+
::String,
|
|
30
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("createdAt"), required: true}}
|
|
31
|
+
)
|
|
32
|
+
# Default profile flag
|
|
33
|
+
field(
|
|
34
|
+
:default_profile,
|
|
35
|
+
Crystalline::Boolean.new,
|
|
36
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("defaultProfile"), required: true}}
|
|
37
|
+
)
|
|
38
|
+
# Default profile image flag
|
|
39
|
+
field(
|
|
40
|
+
:default_profile_image,
|
|
41
|
+
Crystalline::Boolean.new,
|
|
42
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("defaultProfileImage"), required: true}}
|
|
43
|
+
)
|
|
44
|
+
# Bio description
|
|
45
|
+
field(
|
|
46
|
+
:description,
|
|
47
|
+
::String,
|
|
48
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("description"), required: true}}
|
|
49
|
+
)
|
|
50
|
+
# Location
|
|
51
|
+
field(
|
|
52
|
+
:location,
|
|
53
|
+
::String,
|
|
54
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("location"), required: true}}
|
|
55
|
+
)
|
|
56
|
+
# Fast followers count
|
|
57
|
+
field(
|
|
58
|
+
:fast_followers_count,
|
|
59
|
+
::Integer,
|
|
60
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("fastFollowersCount"), required: true}}
|
|
61
|
+
)
|
|
62
|
+
# Likes count
|
|
63
|
+
field(
|
|
64
|
+
:favourites_count,
|
|
65
|
+
::Integer,
|
|
66
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("favouritesCount"), required: true}}
|
|
67
|
+
)
|
|
68
|
+
# Followers count
|
|
69
|
+
field(
|
|
70
|
+
:followers_count,
|
|
71
|
+
::Integer,
|
|
72
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("followersCount"), required: true}}
|
|
73
|
+
)
|
|
74
|
+
# Following count
|
|
75
|
+
field(
|
|
76
|
+
:following_count,
|
|
77
|
+
::Integer,
|
|
78
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("followingCount"), required: true}}
|
|
79
|
+
)
|
|
80
|
+
# Has custom timelines flag
|
|
81
|
+
field(
|
|
82
|
+
:has_custom_timelines,
|
|
83
|
+
Crystalline::Boolean.new,
|
|
84
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("hasCustomTimelines"), required: true}}
|
|
85
|
+
)
|
|
86
|
+
# Is translator flag
|
|
87
|
+
field(
|
|
88
|
+
:is_translator,
|
|
89
|
+
Crystalline::Boolean.new,
|
|
90
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("isTranslator"), required: true}}
|
|
91
|
+
)
|
|
92
|
+
# Listed count
|
|
93
|
+
field(
|
|
94
|
+
:listed_count,
|
|
95
|
+
::Integer,
|
|
96
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("listedCount"), required: true}}
|
|
97
|
+
)
|
|
98
|
+
# Media count
|
|
99
|
+
field(
|
|
100
|
+
:media_count,
|
|
101
|
+
::Integer,
|
|
102
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("mediaCount"), required: true}}
|
|
103
|
+
)
|
|
104
|
+
# Display name
|
|
105
|
+
field :name, ::String, {'format_json': {'letter_case': ::XapiScraper::Utils.field_name("name"), required: true}}
|
|
106
|
+
# Normal followers count
|
|
107
|
+
field(
|
|
108
|
+
:normal_followers_count,
|
|
109
|
+
::Integer,
|
|
110
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("normalFollowersCount"), required: true}}
|
|
111
|
+
)
|
|
112
|
+
# Possibly sensitive flag
|
|
113
|
+
field(
|
|
114
|
+
:possibly_sensitive,
|
|
115
|
+
Crystalline::Boolean.new,
|
|
116
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("possiblySensitive"), required: true}}
|
|
117
|
+
)
|
|
118
|
+
# Profile image URL
|
|
119
|
+
field(
|
|
120
|
+
:profile_image_url_https,
|
|
121
|
+
::String,
|
|
122
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("profileImageUrlHttps"), required: true}}
|
|
123
|
+
)
|
|
124
|
+
# Username
|
|
125
|
+
field(
|
|
126
|
+
:username,
|
|
127
|
+
::String,
|
|
128
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("username"), required: true}}
|
|
129
|
+
)
|
|
130
|
+
# Tweets count
|
|
131
|
+
field(
|
|
132
|
+
:statuses_count,
|
|
133
|
+
::Integer,
|
|
134
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("statusesCount"), required: true}}
|
|
135
|
+
)
|
|
136
|
+
# Legacy verification status
|
|
137
|
+
field(
|
|
138
|
+
:verified,
|
|
139
|
+
Crystalline::Boolean.new,
|
|
140
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("verified"), required: true}}
|
|
141
|
+
)
|
|
142
|
+
# Protected account flag
|
|
143
|
+
field(
|
|
144
|
+
:protected,
|
|
145
|
+
Crystalline::Boolean.new,
|
|
146
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("protected"), required: true}}
|
|
147
|
+
)
|
|
148
|
+
# Account creation datetime in ISO format
|
|
149
|
+
field(
|
|
150
|
+
:created_at_datetime,
|
|
151
|
+
Crystalline::Nilable.new(::String),
|
|
152
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("createdAtDatetime")}}
|
|
153
|
+
)
|
|
154
|
+
# Pinned tweet IDs
|
|
155
|
+
field(
|
|
156
|
+
:pinned_tweet_ids_str,
|
|
157
|
+
Crystalline::Nilable.new(Crystalline::Array.new(::Object)),
|
|
158
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("pinnedTweetIdsStr")}}
|
|
159
|
+
)
|
|
160
|
+
# Translator type
|
|
161
|
+
field(
|
|
162
|
+
:translator_type,
|
|
163
|
+
Crystalline::Nilable.new(::String),
|
|
164
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("translatorType")}}
|
|
165
|
+
)
|
|
166
|
+
# Verification badge type: blue, business, government, etc.
|
|
167
|
+
field(
|
|
168
|
+
:verified_type,
|
|
169
|
+
Crystalline::Nilable.new(::String),
|
|
170
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("verified_type")}}
|
|
171
|
+
)
|
|
172
|
+
# Withheld in countries
|
|
173
|
+
field(
|
|
174
|
+
:withheld_in_countries,
|
|
175
|
+
Crystalline::Nilable.new(Crystalline::Array.new(::Object)),
|
|
176
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("withheldInCountries")}}
|
|
177
|
+
)
|
|
178
|
+
# User profile URL
|
|
179
|
+
field(
|
|
180
|
+
:url,
|
|
181
|
+
Crystalline::Nilable.new(::String),
|
|
182
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("url")}}
|
|
183
|
+
)
|
|
184
|
+
# Description URLs
|
|
185
|
+
field(
|
|
186
|
+
:description_urls,
|
|
187
|
+
Crystalline::Nilable.new(Crystalline::Array.new(::Object)),
|
|
188
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("descriptionUrls")}}
|
|
189
|
+
)
|
|
190
|
+
# User URLs
|
|
191
|
+
field(
|
|
192
|
+
:urls,
|
|
193
|
+
Crystalline::Nilable.new(Crystalline::Array.new(::Object)),
|
|
194
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("urls")}}
|
|
195
|
+
)
|
|
196
|
+
# Pinned tweet IDs
|
|
197
|
+
field(
|
|
198
|
+
:pinned_tweet_ids,
|
|
199
|
+
Crystalline::Nilable.new(Crystalline::Array.new(::Object)),
|
|
200
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("pinnedTweetIds")}}
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
sig {
|
|
204
|
+
params(
|
|
205
|
+
user_id: ::String,
|
|
206
|
+
is_blue_verified: T::Boolean,
|
|
207
|
+
created_at: ::String,
|
|
208
|
+
default_profile: T::Boolean,
|
|
209
|
+
default_profile_image: T::Boolean,
|
|
210
|
+
description: ::String,
|
|
211
|
+
location: ::String,
|
|
212
|
+
fast_followers_count: ::Integer,
|
|
213
|
+
favourites_count: ::Integer,
|
|
214
|
+
followers_count: ::Integer,
|
|
215
|
+
following_count: ::Integer,
|
|
216
|
+
has_custom_timelines: T::Boolean,
|
|
217
|
+
is_translator: T::Boolean,
|
|
218
|
+
listed_count: ::Integer,
|
|
219
|
+
media_count: ::Integer,
|
|
220
|
+
name: ::String,
|
|
221
|
+
normal_followers_count: ::Integer,
|
|
222
|
+
possibly_sensitive: T::Boolean,
|
|
223
|
+
profile_image_url_https: ::String,
|
|
224
|
+
username: ::String,
|
|
225
|
+
statuses_count: ::Integer,
|
|
226
|
+
verified: T::Boolean,
|
|
227
|
+
protected: T::Boolean,
|
|
228
|
+
created_at_datetime: T.nilable(::String),
|
|
229
|
+
pinned_tweet_ids_str: T.nilable(T::Array[::Object]),
|
|
230
|
+
translator_type: T.nilable(::String),
|
|
231
|
+
verified_type: T.nilable(::String),
|
|
232
|
+
withheld_in_countries: T.nilable(T::Array[::Object]),
|
|
233
|
+
url: T.nilable(::String),
|
|
234
|
+
description_urls: T.nilable(T::Array[::Object]),
|
|
235
|
+
urls: T.nilable(T::Array[::Object]),
|
|
236
|
+
pinned_tweet_ids: T.nilable(T::Array[::Object])
|
|
237
|
+
)
|
|
238
|
+
.void
|
|
239
|
+
}
|
|
240
|
+
def initialize(
|
|
241
|
+
user_id:,
|
|
242
|
+
is_blue_verified:,
|
|
243
|
+
created_at:,
|
|
244
|
+
default_profile:,
|
|
245
|
+
default_profile_image:,
|
|
246
|
+
description:,
|
|
247
|
+
location:,
|
|
248
|
+
fast_followers_count:,
|
|
249
|
+
favourites_count:,
|
|
250
|
+
followers_count:,
|
|
251
|
+
following_count:,
|
|
252
|
+
has_custom_timelines:,
|
|
253
|
+
is_translator:,
|
|
254
|
+
listed_count:,
|
|
255
|
+
media_count:,
|
|
256
|
+
name:,
|
|
257
|
+
normal_followers_count:,
|
|
258
|
+
possibly_sensitive:,
|
|
259
|
+
profile_image_url_https:,
|
|
260
|
+
username:,
|
|
261
|
+
statuses_count:,
|
|
262
|
+
verified:,
|
|
263
|
+
protected:,
|
|
264
|
+
created_at_datetime: nil,
|
|
265
|
+
pinned_tweet_ids_str: nil,
|
|
266
|
+
translator_type: nil,
|
|
267
|
+
verified_type: nil,
|
|
268
|
+
withheld_in_countries: nil,
|
|
269
|
+
url: nil,
|
|
270
|
+
description_urls: nil,
|
|
271
|
+
urls: nil,
|
|
272
|
+
pinned_tweet_ids: nil
|
|
273
|
+
)
|
|
274
|
+
@user_id = user_id
|
|
275
|
+
@is_blue_verified = is_blue_verified
|
|
276
|
+
@created_at = created_at
|
|
277
|
+
@default_profile = default_profile
|
|
278
|
+
@default_profile_image = default_profile_image
|
|
279
|
+
@description = description
|
|
280
|
+
@location = location
|
|
281
|
+
@fast_followers_count = fast_followers_count
|
|
282
|
+
@favourites_count = favourites_count
|
|
283
|
+
@followers_count = followers_count
|
|
284
|
+
@following_count = following_count
|
|
285
|
+
@has_custom_timelines = has_custom_timelines
|
|
286
|
+
@is_translator = is_translator
|
|
287
|
+
@listed_count = listed_count
|
|
288
|
+
@media_count = media_count
|
|
289
|
+
@name = name
|
|
290
|
+
@normal_followers_count = normal_followers_count
|
|
291
|
+
@possibly_sensitive = possibly_sensitive
|
|
292
|
+
@profile_image_url_https = profile_image_url_https
|
|
293
|
+
@username = username
|
|
294
|
+
@statuses_count = statuses_count
|
|
295
|
+
@verified = verified
|
|
296
|
+
@protected = protected
|
|
297
|
+
@created_at_datetime = created_at_datetime
|
|
298
|
+
@pinned_tweet_ids_str = pinned_tweet_ids_str
|
|
299
|
+
@translator_type = translator_type
|
|
300
|
+
@verified_type = verified_type
|
|
301
|
+
@withheld_in_countries = withheld_in_countries
|
|
302
|
+
@url = url
|
|
303
|
+
@description_urls = description_urls
|
|
304
|
+
@urls = urls
|
|
305
|
+
@pinned_tweet_ids = pinned_tweet_ids
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
309
|
+
def ==(other)
|
|
310
|
+
return false unless other.is_a?(self.class)
|
|
311
|
+
return false unless @user_id == other.user_id
|
|
312
|
+
return false unless @is_blue_verified == other.is_blue_verified
|
|
313
|
+
return false unless @created_at == other.created_at
|
|
314
|
+
return false unless @default_profile == other.default_profile
|
|
315
|
+
return false unless @default_profile_image == other.default_profile_image
|
|
316
|
+
return false unless @description == other.description
|
|
317
|
+
return false unless @location == other.location
|
|
318
|
+
return false unless @fast_followers_count == other.fast_followers_count
|
|
319
|
+
return false unless @favourites_count == other.favourites_count
|
|
320
|
+
return false unless @followers_count == other.followers_count
|
|
321
|
+
return false unless @following_count == other.following_count
|
|
322
|
+
return false unless @has_custom_timelines == other.has_custom_timelines
|
|
323
|
+
return false unless @is_translator == other.is_translator
|
|
324
|
+
return false unless @listed_count == other.listed_count
|
|
325
|
+
return false unless @media_count == other.media_count
|
|
326
|
+
return false unless @name == other.name
|
|
327
|
+
return false unless @normal_followers_count == other.normal_followers_count
|
|
328
|
+
return false unless @possibly_sensitive == other.possibly_sensitive
|
|
329
|
+
return false unless @profile_image_url_https == other.profile_image_url_https
|
|
330
|
+
return false unless @username == other.username
|
|
331
|
+
return false unless @statuses_count == other.statuses_count
|
|
332
|
+
return false unless @verified == other.verified
|
|
333
|
+
return false unless @protected == other.protected
|
|
334
|
+
return false unless @created_at_datetime == other.created_at_datetime
|
|
335
|
+
return false unless @pinned_tweet_ids_str == other.pinned_tweet_ids_str
|
|
336
|
+
return false unless @translator_type == other.translator_type
|
|
337
|
+
return false unless @verified_type == other.verified_type
|
|
338
|
+
return false unless @withheld_in_countries == other.withheld_in_countries
|
|
339
|
+
return false unless @url == other.url
|
|
340
|
+
return false unless @description_urls == other.description_urls
|
|
341
|
+
return false unless @urls == other.urls
|
|
342
|
+
return false unless @pinned_tweet_ids == other.pinned_tweet_ids
|
|
343
|
+
true
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
end
|
|
347
|
+
end
|
|
348
|
+
end
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Components::UserInfo
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Components::UserInfo
|
|
9
|
+
def user_id
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def user_id=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def is_blue_verified
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def is_blue_verified=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def created_at
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def created_at=(str_)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def default_profile
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def default_profile=(str_)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def default_profile_image
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def default_profile_image=(str_)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def description
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def description=(str_)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def location
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def location=(str_)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def fast_followers_count
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def fast_followers_count=(str_)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def favourites_count
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def favourites_count=(str_)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def followers_count
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def followers_count=(str_)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def following_count
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def following_count=(str_)
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def has_custom_timelines
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def has_custom_timelines=(str_)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
def is_translator
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def is_translator=(str_)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
def listed_count
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def listed_count=(str_)
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
def media_count
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
def media_count=(str_)
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
def name
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def name=(str_)
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
def normal_followers_count
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
def normal_followers_count=(str_)
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
def possibly_sensitive
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
def possibly_sensitive=(str_)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
def profile_image_url_https
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
def profile_image_url_https=(str_)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
def username
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
def username=(str_)
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
def statuses_count
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
def statuses_count=(str_)
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
def verified
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
def verified=(str_)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def protected
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
def protected=(str_)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
def created_at_datetime
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
def created_at_datetime=(str_)
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
def pinned_tweet_ids_str
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
def pinned_tweet_ids_str=(str_)
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
def translator_type
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
def translator_type=(str_)
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
def verified_type
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
def verified_type=(str_)
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
def withheld_in_countries
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
def withheld_in_countries=(str_)
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
def url
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
def url=(str_)
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
def description_urls
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
def description_urls=(str_)
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
def urls
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
def urls=(str_)
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
def pinned_tweet_ids
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
def pinned_tweet_ids=(str_)
|
|
199
|
+
end
|
|
200
|
+
end
|