pub async fn search_by_imdb(
        &mut self,
        value: &str,
        parameters: Option<&ApiParameters>,
    ) -> Result<Torrents, Error> {
        self.request(Some(&[("search_imdb", value)]), Mode::Search, parameters)
            .await
    }
/// Search torrents by its IMDB id with some or no parameters.
///
/// # Example
///
/// ```no_run
/// use rarbg_api::RarBgApi;
/// use rarbg_api::token::Token;
///
/// #[tokio::main]
/// async fn main() {
///     let mut api = RarBgApi::new("RustExample").await;
///     // tt2861424 is Rick and Morty
///     let result = api.search_by_imdb("tt2861424", None).await;
/// }
/// ```
Search torrents by its IMDB id with some or no parameters.
Search torrents by its IMDB id with some or no parameters .
pub async fn search_by_imdb(
        &mut self,
        value: &str,
        parameters: Option<&ApiParameters>,
    ) -> Result<Torrents, Error> {
        self.request(Some(&[("search_imdb", value)]), Mode::Search, parameters)
            .await
    }
pub async fn search_by_imdb ( & mut self , value : & str , parameters : Option < & ApiParameters > , ) -> Result < Torrents , Error > { self . request ( Some ( & [ ( " " , value ) ] ) , Mode :: Search , parameters ) . await }
Search torrents by its IMDB id with some or no parameters.
Search torrents by its IMDB id with some or no parameters .
&mut self
value
&str
parameters
Option<&ApiParameters>
example
```no_run
use rarbg_api::RarBgApi;
use rarbg_api::token::Token.
` ` ` no_run use rarbg_api :: RarBgApi ; use rarbg_api :: token :: Token .
[tokio::main]
async fn main() {
let mut api = RarBgApi::new("RustExample").await;
tt2861424 is Rick and Morty
let result = api.search_by_imdb("tt2861424", None).await;
}
```
async fn main () { let mut api = RarBgApi :: new ( " RustExample " ) . await ; tt2861424 is Rick and Morty let result = api . search_by_imdb ( " tt2861424 " None ) . await ; } ` ` `