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,302 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Components::TweetModel
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Components::TweetModel
|
|
9
|
+
def tweet_id
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def tweet_id=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def text
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def text=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def edit_tweet_ids
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def edit_tweet_ids=(str_)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def hashtags
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def hashtags=(str_)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def cashtags
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def cashtags=(str_)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def media
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def media=(str_)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def related_tweets
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def related_tweets=(str_)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def replies
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def replies=(str_)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def urls
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def urls=(str_)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def is_paid_promotion
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def is_paid_promotion=(str_)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def created_at
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def created_at=(str_)
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def created_at_datetime
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def created_at_datetime=(str_)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
def bookmark_count
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def bookmark_count=(str_)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
def bookmarked
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def bookmarked=(str_)
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
def community_note
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
def community_note=(str_)
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
def editable_until_msecs
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def editable_until_msecs=(str_)
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
def edits_remaining
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
def edits_remaining=(str_)
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
def favorite_count
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
def favorite_count=(str_)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
def favorited
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
def favorited=(str_)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
def full_text
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
def full_text=(str_)
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
def has_card
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
def has_card=(str_)
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
def has_community_notes
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
def has_community_notes=(str_)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def id
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
def id=(str_)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
def in_reply_to
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
def in_reply_to=(str_)
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
def in_reply_to_user_id
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
def in_reply_to_user_id=(str_)
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
def in_reply_to_screen_name
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
def in_reply_to_screen_name=(str_)
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
def is_edit_eligible
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
def is_edit_eligible=(str_)
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
def is_quote_status
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
def is_quote_status=(str_)
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
def quoted_status_id_str
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
def quoted_status_id_str=(str_)
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
def is_translatable
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
def is_translatable=(str_)
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
def lang
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
def lang=(str_)
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
def place
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
def place=(str_)
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
def poll
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
def poll=(str_)
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
def possibly_sensitive
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
def possibly_sensitive=(str_)
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
def possibly_sensitive_editable
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
def possibly_sensitive_editable=(str_)
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
def quote
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
def quote=(str_)
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
def quote_count
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
def quote_count=(str_)
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
def reply_count
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
def reply_count=(str_)
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
def reply_to
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
def reply_to=(str_)
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
def retweet_count
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
def retweet_count=(str_)
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
def retweeted_tweet
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
def retweeted_tweet=(str_)
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
def thread
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
def thread=(str_)
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
def thumbnail_title
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
def thumbnail_title=(str_)
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
def thumbnail_url
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
def thumbnail_url=(str_)
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
def user
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
def user=(str_)
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
def view_count
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
def view_count=(str_)
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
def view_count_state
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
def view_count_state=(str_)
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
def status
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
def status=(str_)
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
def target_count
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
def target_count=(str_)
|
|
301
|
+
end
|
|
302
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
|
|
10
|
+
class TweetThreadByIdBody
|
|
11
|
+
extend T::Sig
|
|
12
|
+
include Crystalline::MetadataFields
|
|
13
|
+
|
|
14
|
+
# The root tweet ID to fetch the thread for
|
|
15
|
+
field(
|
|
16
|
+
:tweet_id,
|
|
17
|
+
::String,
|
|
18
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("tweet_id"), required: true}}
|
|
19
|
+
)
|
|
20
|
+
# Max number of thread tweets to return
|
|
21
|
+
field(
|
|
22
|
+
:max_items,
|
|
23
|
+
Crystalline::Nilable.new(::Integer),
|
|
24
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("max_items")}}
|
|
25
|
+
)
|
|
26
|
+
# Fields to include in each tweet. If omitted, all fields are returned.
|
|
27
|
+
field(
|
|
28
|
+
:fields_,
|
|
29
|
+
Crystalline::Nilable.new(Crystalline::Array.new(::String)),
|
|
30
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("fields")}}
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
sig {
|
|
34
|
+
params(tweet_id: ::String, max_items: T.nilable(::Integer), fields_: T.nilable(T::Array[::String])).void
|
|
35
|
+
}
|
|
36
|
+
def initialize(tweet_id:, max_items: 40, fields_: nil)
|
|
37
|
+
@tweet_id = tweet_id
|
|
38
|
+
@max_items = max_items
|
|
39
|
+
@fields_ = fields_
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
43
|
+
def ==(other)
|
|
44
|
+
return false unless other.is_a?(self.class)
|
|
45
|
+
return false unless @tweet_id == other.tweet_id
|
|
46
|
+
return false unless @max_items == other.max_items
|
|
47
|
+
return false unless @fields_ == other.fields_
|
|
48
|
+
true
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Components::TweetThreadByIdBody
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Components::TweetThreadByIdBody
|
|
9
|
+
def tweet_id
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def tweet_id=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def max_items
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def max_items=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def fields_
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def fields_=(str_)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
|
|
10
|
+
class TwitterAccountBasedStandardResponse
|
|
11
|
+
extend T::Sig
|
|
12
|
+
include Crystalline::MetadataFields
|
|
13
|
+
|
|
14
|
+
# HTTP status code
|
|
15
|
+
field(
|
|
16
|
+
:code,
|
|
17
|
+
Crystalline::Nilable.new(::Integer),
|
|
18
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("code")}}
|
|
19
|
+
)
|
|
20
|
+
# Response message
|
|
21
|
+
field(
|
|
22
|
+
:msg,
|
|
23
|
+
Crystalline::Nilable.new(::String),
|
|
24
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("msg")}}
|
|
25
|
+
)
|
|
26
|
+
# Twitter Account Based in data
|
|
27
|
+
field(
|
|
28
|
+
:data,
|
|
29
|
+
Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TwitterUserAboutResponse)),
|
|
30
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("data")}}
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
sig {
|
|
34
|
+
params(
|
|
35
|
+
code: T.nilable(::Integer),
|
|
36
|
+
msg: T.nilable(::String),
|
|
37
|
+
data: T.nilable(T::Array[Models::Components::TwitterUserAboutResponse])
|
|
38
|
+
)
|
|
39
|
+
.void
|
|
40
|
+
}
|
|
41
|
+
def initialize(code: 200, msg: "success", data: nil)
|
|
42
|
+
@code = code
|
|
43
|
+
@msg = msg
|
|
44
|
+
@data = data
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
48
|
+
def ==(other)
|
|
49
|
+
return false unless other.is_a?(self.class)
|
|
50
|
+
return false unless @code == other.code
|
|
51
|
+
return false unless @msg == other.msg
|
|
52
|
+
return false unless @data == other.data
|
|
53
|
+
true
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class XapiScraper::Models::Components::TwitterAccountBasedStandardResponse
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class XapiScraper::Models::Components::TwitterAccountBasedStandardResponse
|
|
9
|
+
def code
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def code=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def msg
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def msg=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def data
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def data=(str_)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,208 @@
|
|
|
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
|
+
|
|
10
|
+
class TwitterUserAboutResponse
|
|
11
|
+
extend T::Sig
|
|
12
|
+
include Crystalline::MetadataFields
|
|
13
|
+
|
|
14
|
+
# Twitter user ID
|
|
15
|
+
field(
|
|
16
|
+
:user_id,
|
|
17
|
+
::String,
|
|
18
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("user_id"), required: true}}
|
|
19
|
+
)
|
|
20
|
+
# Profile avatar image URL
|
|
21
|
+
field(
|
|
22
|
+
:avatar,
|
|
23
|
+
::String,
|
|
24
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("avatar"), required: true}}
|
|
25
|
+
)
|
|
26
|
+
# User display name
|
|
27
|
+
field :name, ::String, {'format_json': {'letter_case': ::XapiScraper::Utils.field_name("name"), required: true}}
|
|
28
|
+
# Twitter username (handle)
|
|
29
|
+
field(
|
|
30
|
+
:screen_name,
|
|
31
|
+
::String,
|
|
32
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("screen_name"), required: true}}
|
|
33
|
+
)
|
|
34
|
+
# Account creation date in Twitter format
|
|
35
|
+
field(
|
|
36
|
+
:created_at,
|
|
37
|
+
::String,
|
|
38
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("created_at"), required: true}}
|
|
39
|
+
)
|
|
40
|
+
# Profile image shape (e.g., Circle, Square)
|
|
41
|
+
field(
|
|
42
|
+
:profile_image_shape,
|
|
43
|
+
::String,
|
|
44
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("profile_image_shape"), required: true}}
|
|
45
|
+
)
|
|
46
|
+
# Whether the user account is verified
|
|
47
|
+
field(
|
|
48
|
+
:verification,
|
|
49
|
+
Crystalline::Boolean.new,
|
|
50
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("verification"), required: true}}
|
|
51
|
+
)
|
|
52
|
+
# User label display type (e.g., Badge)
|
|
53
|
+
field(
|
|
54
|
+
:user_label_display_type,
|
|
55
|
+
::String,
|
|
56
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("userLabelDisplayType"), required: true}}
|
|
57
|
+
)
|
|
58
|
+
# User label type (e.g., BusinessLabel)
|
|
59
|
+
field(
|
|
60
|
+
:user_label_type,
|
|
61
|
+
::String,
|
|
62
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("userLabelType"), required: true}}
|
|
63
|
+
)
|
|
64
|
+
# Whether the user has blue verification badge (Twitter Blue/X Premium)
|
|
65
|
+
field(
|
|
66
|
+
:is_blue_verified,
|
|
67
|
+
Crystalline::Boolean.new,
|
|
68
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("is_blue_verified"), required: true}}
|
|
69
|
+
)
|
|
70
|
+
# Privacy policy or learn more URL
|
|
71
|
+
field(
|
|
72
|
+
:privacy_policy_url,
|
|
73
|
+
::String,
|
|
74
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("privacy_policy_url"), required: true}}
|
|
75
|
+
)
|
|
76
|
+
# Country or region where the account is based
|
|
77
|
+
field(
|
|
78
|
+
:account_based_in,
|
|
79
|
+
::String,
|
|
80
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("account_based_in"), required: true}}
|
|
81
|
+
)
|
|
82
|
+
# Whether the location information is accurate
|
|
83
|
+
field(
|
|
84
|
+
:location_accurate,
|
|
85
|
+
Crystalline::Boolean.new,
|
|
86
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("location_accurate"), required: true}}
|
|
87
|
+
)
|
|
88
|
+
# Affiliated username (e.g., business account username)
|
|
89
|
+
field(
|
|
90
|
+
:affiliate_username,
|
|
91
|
+
::String,
|
|
92
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("affiliate_username"), required: true}}
|
|
93
|
+
)
|
|
94
|
+
# Source of account creation (e.g., 'United States App Store')
|
|
95
|
+
field(
|
|
96
|
+
:source,
|
|
97
|
+
::String,
|
|
98
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("source"), required: true}}
|
|
99
|
+
)
|
|
100
|
+
# Number of times the username has been changed
|
|
101
|
+
field(
|
|
102
|
+
:username_changes_count,
|
|
103
|
+
::Integer,
|
|
104
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("username_changes_count"), required: true}}
|
|
105
|
+
)
|
|
106
|
+
# Override verified year (if applicable, negative values indicate special cases)
|
|
107
|
+
field(
|
|
108
|
+
:override_verified_year,
|
|
109
|
+
::Integer,
|
|
110
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("override_verified_year"), required: true}}
|
|
111
|
+
)
|
|
112
|
+
# Timestamp in milliseconds when the account was verified (negative values indicate special cases)
|
|
113
|
+
field(
|
|
114
|
+
:verified_since_msec,
|
|
115
|
+
::Integer,
|
|
116
|
+
{'format_json': {'letter_case': ::XapiScraper::Utils.field_name("verified_since_msec"), required: true}}
|
|
117
|
+
)
|
|
118
|
+
|
|
119
|
+
sig {
|
|
120
|
+
params(
|
|
121
|
+
user_id: ::String,
|
|
122
|
+
avatar: ::String,
|
|
123
|
+
name: ::String,
|
|
124
|
+
screen_name: ::String,
|
|
125
|
+
created_at: ::String,
|
|
126
|
+
profile_image_shape: ::String,
|
|
127
|
+
verification: T::Boolean,
|
|
128
|
+
user_label_display_type: ::String,
|
|
129
|
+
user_label_type: ::String,
|
|
130
|
+
is_blue_verified: T::Boolean,
|
|
131
|
+
privacy_policy_url: ::String,
|
|
132
|
+
account_based_in: ::String,
|
|
133
|
+
location_accurate: T::Boolean,
|
|
134
|
+
affiliate_username: ::String,
|
|
135
|
+
source: ::String,
|
|
136
|
+
username_changes_count: ::Integer,
|
|
137
|
+
override_verified_year: ::Integer,
|
|
138
|
+
verified_since_msec: ::Integer
|
|
139
|
+
)
|
|
140
|
+
.void
|
|
141
|
+
}
|
|
142
|
+
def initialize(
|
|
143
|
+
user_id:,
|
|
144
|
+
avatar:,
|
|
145
|
+
name:,
|
|
146
|
+
screen_name:,
|
|
147
|
+
created_at:,
|
|
148
|
+
profile_image_shape:,
|
|
149
|
+
verification:,
|
|
150
|
+
user_label_display_type:,
|
|
151
|
+
user_label_type:,
|
|
152
|
+
is_blue_verified:,
|
|
153
|
+
privacy_policy_url:,
|
|
154
|
+
account_based_in:,
|
|
155
|
+
location_accurate:,
|
|
156
|
+
affiliate_username:,
|
|
157
|
+
source:,
|
|
158
|
+
username_changes_count:,
|
|
159
|
+
override_verified_year:,
|
|
160
|
+
verified_since_msec:
|
|
161
|
+
)
|
|
162
|
+
@user_id = user_id
|
|
163
|
+
@avatar = avatar
|
|
164
|
+
@name = name
|
|
165
|
+
@screen_name = screen_name
|
|
166
|
+
@created_at = created_at
|
|
167
|
+
@profile_image_shape = profile_image_shape
|
|
168
|
+
@verification = verification
|
|
169
|
+
@user_label_display_type = user_label_display_type
|
|
170
|
+
@user_label_type = user_label_type
|
|
171
|
+
@is_blue_verified = is_blue_verified
|
|
172
|
+
@privacy_policy_url = privacy_policy_url
|
|
173
|
+
@account_based_in = account_based_in
|
|
174
|
+
@location_accurate = location_accurate
|
|
175
|
+
@affiliate_username = affiliate_username
|
|
176
|
+
@source = source
|
|
177
|
+
@username_changes_count = username_changes_count
|
|
178
|
+
@override_verified_year = override_verified_year
|
|
179
|
+
@verified_since_msec = verified_since_msec
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
183
|
+
def ==(other)
|
|
184
|
+
return false unless other.is_a?(self.class)
|
|
185
|
+
return false unless @user_id == other.user_id
|
|
186
|
+
return false unless @avatar == other.avatar
|
|
187
|
+
return false unless @name == other.name
|
|
188
|
+
return false unless @screen_name == other.screen_name
|
|
189
|
+
return false unless @created_at == other.created_at
|
|
190
|
+
return false unless @profile_image_shape == other.profile_image_shape
|
|
191
|
+
return false unless @verification == other.verification
|
|
192
|
+
return false unless @user_label_display_type == other.user_label_display_type
|
|
193
|
+
return false unless @user_label_type == other.user_label_type
|
|
194
|
+
return false unless @is_blue_verified == other.is_blue_verified
|
|
195
|
+
return false unless @privacy_policy_url == other.privacy_policy_url
|
|
196
|
+
return false unless @account_based_in == other.account_based_in
|
|
197
|
+
return false unless @location_accurate == other.location_accurate
|
|
198
|
+
return false unless @affiliate_username == other.affiliate_username
|
|
199
|
+
return false unless @source == other.source
|
|
200
|
+
return false unless @username_changes_count == other.username_changes_count
|
|
201
|
+
return false unless @override_verified_year == other.override_verified_year
|
|
202
|
+
return false unless @verified_since_msec == other.verified_since_msec
|
|
203
|
+
true
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
end
|