pub struct Apify { /* private fields */ }Expand description
See: https://docs.apify.com/api
Implementations§
Source§impl Apify
impl Apify
Sourcepub fn new(api_key: SecretString) -> Result<Self, Box<dyn Error>>
pub fn new(api_key: SecretString) -> Result<Self, Box<dyn Error>>
Creates a new Apify client with the provided API key Returns an error if the API key is empty
Sourcepub fn google_search(
&self,
request: &GoogleSearchRequest,
) -> Result<String, Box<dyn Error>>
pub fn google_search( &self, request: &GoogleSearchRequest, ) -> Result<String, Box<dyn Error>>
Performs a Google search scrape See: https://apify.com/apify/google-search-scraper
Sourcepub fn x_follows(
&self,
request: &TwitterFollowingScrapeRequest,
) -> Result<String, Box<dyn Error>>
pub fn x_follows( &self, request: &TwitterFollowingScrapeRequest, ) -> Result<String, Box<dyn Error>>
Performs an X/Twitter followers/followings scrape See: https://apify.com/kaitoeasyapi/premium-x-follower-scraper-following-data
Sourcepub fn linkedin_profile(
&self,
request: &LinkedInProfileScrapeRequest,
) -> Result<String, Box<dyn Error>>
pub fn linkedin_profile( &self, request: &LinkedInProfileScrapeRequest, ) -> Result<String, Box<dyn Error>>
Performs a LinkedIn profile scrape See: https://apify.com/apimaestro/linkedin-profile-detail
Sourcepub fn instagram_profile(
&self,
request: &InstagramProfileScrapeRequest,
) -> Result<String, Box<dyn Error>>
pub fn instagram_profile( &self, request: &InstagramProfileScrapeRequest, ) -> Result<String, Box<dyn Error>>
Performs an Instagram profile scrape See: https://apify.com/apify/instagram-profile-scraper
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Apify
impl RefUnwindSafe for Apify
impl Send for Apify
impl Sync for Apify
impl Unpin for Apify
impl UnsafeUnpin for Apify
impl UnwindSafe for Apify
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more