#interface #lookup #plugin #creation

rs-plugin-lookup-interfaces

Common description for plugin creation

5 releases (breaking)

new 0.11.0 Apr 5, 2024
0.5.0 Apr 5, 2024
0.4.0 Apr 4, 2024
0.2.0 Apr 3, 2024
0.1.0 Apr 3, 2024

#16 in #creation

Download history 341/week @ 2024-04-01

341 downloads per month

MIT/Apache

5KB
58 lines

Interfaces for episodes/movies/Actors... and Media Lookup

Like every other plugins you must implement an info request

#[plugin_fn]
pub fn infos() -> FnResult<Json<PluginInformation>> {
    Ok(Json(
        PluginInformation { name: "xxxx_request".into(), kind: PluginType::Lookup, version: 1, publisher: "neckaros".into(), description: "descruption".into(), credential_kind: Some(CredentialType::Token), ..Default::default() }
    ))
}
```

Dependencies

~2.8–4.5MB
~86K SLoC