[−][src]Struct gpapi::Gpapi
Fields
username: String
password: String
gsf_id: String
token: String
client: Box<Client>
Methods
impl Gpapi
[src]
pub fn new<S: Into<String>>(username: S, password: S, gsf_id: S) -> Self
[src]
pub fn details(
&self,
pkg_name: &str
) -> Result<Option<DetailsResponse>, Box<dyn Error>>
[src]
&self,
pkg_name: &str
) -> Result<Option<DetailsResponse>, Box<dyn Error>>
Play Store package detail request (provides more detail than bulk requests).
pub fn bulk_details(
&self,
pkg_names: &[&str]
) -> Result<Option<BulkDetailsResponse>, Box<dyn Error>>
[src]
&self,
pkg_names: &[&str]
) -> Result<Option<BulkDetailsResponse>, Box<dyn Error>>
pub fn get_download_url(
&self,
pkg_name: &str,
vc: u64
) -> Result<Option<String>, Box<dyn Error>>
[src]
&self,
pkg_name: &str,
vc: u64
) -> Result<Option<String>, Box<dyn Error>>
pub fn app_delivery_data(
&self,
pkg_name: &str,
vc: u64
) -> Result<Option<DeliveryResponse>, Box<dyn Error>>
[src]
&self,
pkg_name: &str,
vc: u64
) -> Result<Option<DeliveryResponse>, Box<dyn Error>>
pub fn purchase(
&self,
pkg_name: &str,
vc: u64
) -> Result<Option<BuyResponse>, Box<dyn Error>>
[src]
&self,
pkg_name: &str,
vc: u64
) -> Result<Option<BuyResponse>, Box<dyn Error>>
pub fn authenticate(&mut self) -> Result<(), Box<dyn Error>>
[src]
pub fn execute_request_v2(
&self,
endpoint: &str,
query: Option<HashMap<&str, &str>>,
msg: Option<&[u8]>,
content_type: Option<&str>
) -> Result<ResponseWrapper, Box<dyn Error>>
[src]
&self,
endpoint: &str,
query: Option<HashMap<&str, &str>>,
msg: Option<&[u8]>,
content_type: Option<&str>
) -> Result<ResponseWrapper, Box<dyn Error>>
Lower level Play Store request, used by APIs but exposed for specialized
requests. Returns a ResponseWrapper
which depending on the request
populates different fields/values.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,