google play scraper
0.4.0.9
Bibliothèque PHP pour récupérer les données d'application du Google Play Store.
composer require nelexa/google-play-scraper
docs/README.md
// Retrieving full app info
$ gplay = new Nelexa GPlay GPlayApps ( $ defaultLocale = ' fr_CA ' , $ defaultCountry = ' ca ' );
$ appInfo = $ gplay -> getAppInfo ( ' com.google.android.youtube ' );
Résultat:
class NelexaGPlayModelAppInfo {
-getId(): string: " com.google.android.youtube "
- getLocale (): string: " fr_CA "
- getCountry (): string: " ca "
- getUrl (): string: " https://play.google.com/store/apps/details?id=com.google.android.youtube "
- getFullUrl (): string: " https://play.google.com/store/apps/details?id=com.google.android.youtube&hl=fr_CA&gl=ca "
- getName (): string: " YouTube "
- getDescription (): string: "" "
Téléchargez l'application YouTube officielle sur votre téléphone ou tablette Android. Découvrez les contenus regardés partout dans le monde : des clip…
"" "
- getIcon (): Nelexa GPlay Model GoogleImage : {
-__toString(): string: " https://play-lh.googleusercontent.com/lMoItBgdPPVDJsNOVtP26EKHePkwBg-PkuY9NOrc-fumRtTFP4XhpUNk_22syN4Datc "
- getUrl (): string: " https://play-lh.googleusercontent.com/lMoItBgdPPVDJsNOVtP26EKHePkwBg-PkuY9NOrc-fumRtTFP4XhpUNk_22syN4Datc "
- getOriginalSizeUrl (): string: " https://play-lh.googleusercontent.com/lMoItBgdPPVDJsNOVtP26EKHePkwBg-PkuY9NOrc-fumRtTFP4XhpUNk_22syN4Datc=s0 "
- getBinaryImageContent (): string: …
}
- getScreenshots (): array: array: 5 [
0 => class Nelexa GPlay Model GoogleImage {
-__toString(): string: " https://play-lh.googleusercontent.com/ysXRzV6uIprDW4_cTODTc3RICYKV57YAzNv7zHeAYpwJpe2lC6Wdx-GuCoSgzCCDwuc "
- getUrl (): string: " https://play-lh.googleusercontent.com/ysXRzV6uIprDW4_cTODTc3RICYKV57YAzNv7zHeAYpwJpe2lC6Wdx-GuCoSgzCCDwuc "
- getOriginalSizeUrl (): string: " https://play-lh.googleusercontent.com/ysXRzV6uIprDW4_cTODTc3RICYKV57YAzNv7zHeAYpwJpe2lC6Wdx-GuCoSgzCCDwuc=s0 "
- getBinaryImageContent (): string: …
}
1 => class Nelexa GPlay Model GoogleImage {
-__toString(): string: " https://play-lh.googleusercontent.com/YshbPqiMzsf-UJbTlLhgOXriJw2X_A0HIZ7AX1kfuyk1IkfWjHmTWmYMG0t9pJW3yqU "
- getUrl (): string: " https://play-lh.googleusercontent.com/YshbPqiMzsf-UJbTlLhgOXriJw2X_A0HIZ7AX1kfuyk1IkfWjHmTWmYMG0t9pJW3yqU "
- getOriginalSizeUrl (): string: " https://play-lh.googleusercontent.com/YshbPqiMzsf-UJbTlLhgOXriJw2X_A0HIZ7AX1kfuyk1IkfWjHmTWmYMG0t9pJW3yqU=s0 "
- getBinaryImageContent (): string: …
}
…
]
- getScore (): float: 3.8564255
- getPriceText (): ?string: null
- isFree (): bool: true
- getInstallsText (): string: " 10 000 000 000+ "
- jsonSerialize (): array: …
- getDeveloper (): ? Nelexa GPlay Model Developer: {
- getId (): string: " 5700313618786177705 "
- getUrl (): string: " https://play.google.com/store/apps/dev?id=5700313618786177705 "
- getName (): string: " Google LLC "
- getDescription (): ?string: null
- getWebsite (): ?string: " https://support.google.com/youtube/topic/2422554?rd=1 "
- getIcon (): ? Nelexa GPlay Model GoogleImage: null
- getCover (): ? Nelexa GPlay Model GoogleImage: null
- getEmail (): ?string: " [email protected] "
- getAddress (): ?string: " 1600 Amphitheatre Parkway, Mountain View 94043 "
- asArray (): array: …
- jsonSerialize (): array: …
}
- getDeveloperName (): string: " Google LLC "
- getSummary (): string: " Regardez vos vidéos, chaînes et playlists préférées où que vous soyez. "
- getTranslatedFromLocale (): mixed: null
- getCover (): ? Nelexa GPlay Model GoogleImage: {
- __toString (): string: " https://play-lh.googleusercontent.com/vA4tG0v4aasE7oIvRIvTkOYTwom07DfqHdUPr6k7jmrDwy_qA_SonqZkw6KX0OXKAdk "
- getUrl (): string: " https://play-lh.googleusercontent.com/vA4tG0v4aasE7oIvRIvTkOYTwom07DfqHdUPr6k7jmrDwy_qA_SonqZkw6KX0OXKAdk "
- getOriginalSizeUrl (): string: " https://play-lh.googleusercontent.com/vA4tG0v4aasE7oIvRIvTkOYTwom07DfqHdUPr6k7jmrDwy_qA_SonqZkw6KX0OXKAdk=s0 "
- getBinaryImageContent (): string: …
}
- getCategory (): ? Nelexa GPlay Model Category: {
- getId (): string: " VIDEO_PLAYERS "
- getName (): string: " Lecteurs vidéo et éditeurs "
- isGamesCategory (): bool: false
- isFamilyCategory (): bool: false
- isApplicationCategory (): bool: true
- asArray (): array: …
- jsonSerialize (): array: …
}
- getCategoryFamily (): ? Nelexa GPlay Model Category: null
- getVideo (): ? Nelexa GPlay Model Video: null
- getRecentChanges (): ?string: " Pour plus d'informations sur les nouvelles fonctionnalités et leur utilisation, consultez la documentation et les notifications intégrées au produit. "
- isEditorsChoice (): bool: false
- getInstalls (): int: 11923110578
- getHistogramRating (): Nelexa GPlay Model HistogramRating : {
-getFiveStars(): int: 28666549
- getFourStars (): int: 4783408
- getThreeStars (): int: 7638282
- getTwoStars (): int: 14217650
- getOneStar (): int: 83304870
- asArray (): array: …
- jsonSerialize (): array: …
}
- getPrice (): float: 0.0
- getCurrency (): string: " CAD "
- isContainsIAP (): bool: false
- getOffersIAPCost (): ?string: null
- isContainsAds (): bool: true
- getSize (): mixed: null
- getAppVersion (): ?string: null
- getAndroidVersion (): ?string: null
- getMinAndroidVersion (): ?string: null
- getContentRating (): ?string: ""
- getPrivacyPoliceUrl (): ?string: " http://www.google.com/policies/privacy "
- getReleased (): ?DateTimeInterface: @ 1287601948 {
date: 2010 - 10 - 20 T19 : 12 : 28 + 00 : 00
}
- getUpdated (): ?DateTimeInterface: @ 1654299141 {
date: 2022 - 06 - 03 T23 : 32 : 21 + 00 : 00
}
- getNumberVoters (): int: 138611767
- getNumberReviews (): int: 142747
- getReviews (): array: array: 40 [
0 => class Nelexa GPlay Model Review {
-getId(): string: " gp:AOqpTOEMQEAUOLXyd5CBETDY47q0t0LfiCNl0igi4p9DscGE10LQedLKFr6WPPvGFbQ4rTqKu_vR9bf1k2Dl6g "
- getUrl (): mixed: ""
- getUserName (): string: " Boromir et Tilou "
- getText (): string: " Cette application est excellente, cependant il y a quelque problématique niveau pub! Par exemple : il arrive des fois que je regarde une vidéo qui dur… "
- getAvatar (): Nelexa GPlay Model GoogleImage : {
-__toString(): string: " https://play-lh.googleusercontent.com/a-/AOh14GiEuZYl4opeaRXLTVlEPX09UT7O1pu28Xibw2YO=s64 "
- getUrl (): string: " https://play-lh.googleusercontent.com/a-/AOh14GiEuZYl4opeaRXLTVlEPX09UT7O1pu28Xibw2YO=s64 "
- getOriginalSizeUrl (): string: " https://play-lh.googleusercontent.com/a-/AOh14GiEuZYl4opeaRXLTVlEPX09UT7O1pu28Xibw2YO=s0 "
- getBinaryImageContent (): string: …
}
- getDate (): ?DateTimeInterface: @ 1652904683 {
date: 2022 - 05 - 18 T20 : 11 : 23 + 00 : 00
}
- getScore (): int: 4
- getCountLikes (): int: 1929
- getReply (): ? Nelexa GPlay Model ReplyReview: null
- getAppVersion (): ?string: " 17.19.34 "
- asArray (): array: …
- jsonSerialize (): array: …
}
1 => class NelexaGPlayModelReview {
- getId (): string: " gp:AOqpTOEMsRD995sFxjIRu23yRV7za1PH0O2IKHmydCwK9CyQuf4IhL6WNyMsS7ZoEFcdTSI6-akTQAoHGQmzXQ "
- getUrl (): mixed: ""
- getUserName (): string: " Mathias Blouin "
- getText (): string: " Beaucoup trop de publicités, sous-titres qui se mettent tout seul, la résolution n'est JAMAIS sur la plus haute et c'est assez long à changer, des foi… "
- getAvatar (): Nelexa GPlay Model GoogleImage : {
-__toString(): string: " https://play-lh.googleusercontent.com/a-/AOh14GiIFpEtppYtvFbeki1HKoLOHfLOuDfPFOtuvoBFew=s64 "
- getUrl (): string: " https://play-lh.googleusercontent.com/a-/AOh14GiIFpEtppYtvFbeki1HKoLOHfLOuDfPFOtuvoBFew=s64 "
- getOriginalSizeUrl (): string: " https://play-lh.googleusercontent.com/a-/AOh14GiIFpEtppYtvFbeki1HKoLOHfLOuDfPFOtuvoBFew=s0 "
- getBinaryImageContent (): string: …
}
- getDate (): ?DateTimeInterface: @ 1652148284 {
date: 2022 - 05 - 10 T02 : 04 : 44 + 00 : 00
}
- getScore (): int: 3
- getCountLikes (): int: 2569
- getReply (): ? Nelexa GPlay Model ReplyReview: null
- getAppVersion (): ?string: " 17.17.34 "
- asArray (): array: …
- jsonSerialize (): array: …
}
…
]
- asArray (): array: …
}
Les modifications sont documentées dans la page des versions.
La bibliothèque est un logiciel open source sous licence MIT.
TAR6uqMAMCpTUemy9RP26zrTpJM1rtECxE
0xA6c9776996f16A0C473Dec464A5608a7BCD3BB81
16Aavqejcdy2rnyNLLZ1FN4cQEdWXQE3YJ