| 1 | //! Google Play Developer API (Edits v3) for store-listing work. |
| 2 | //! |
| 3 | //! Localized listings, listing images, and release notes on a track release. |
| 4 | //! Authentication is a service-account key exchanged for an OAuth2 token |
| 5 | //! (RS256 JWT), cached until shortly before it expires. Every read and write |
| 6 | //! happens inside an edit: [`PlayClient::insert_edit`] opens one, |
| 7 | //! [`PlayClient::commit_edit`] publishes it, and [`PlayClient::delete_edit`] |
| 8 | //! discards it. |
| 9 | |
| 10 | pub mod auth; |
| 11 | pub mod client; |
| 12 | pub mod error; |
| 13 | pub mod image; |
| 14 | pub mod listing; |
| 15 | pub mod track; |
| 16 | |
| 17 | pub use auth::ServiceAccount; |
| 18 | pub use client::{Edit, PlayClient}; |
| 19 | pub use error::{Error, Result}; |
| 20 | pub use image::{png_dimensions, Image, ImageType}; |
| 21 | pub use listing::{ |
| 22 | Listing, ListingFields, FULL_DESCRIPTION_MAX_LEN, RELEASE_NOTES_MAX_LEN, |
| 23 | SHORT_DESCRIPTION_MAX_LEN, TITLE_MAX_LEN, |
| 24 | }; |
| 25 | pub use track::{LocalizedText, Track, TrackRelease}; |