Difference between revisions of "Google Poly"

From Archiveteam
Jump to navigation Jump to search
(Add info about retrieving data from Poly)
Line 6: Line 6:
| project_status = {{closing}}
| project_status = {{closing}}
| archiving_status = {{upcoming}}
| archiving_status = {{upcoming}}
| source = [https://github.com/ArchiveTeam/google-poly-grab google-poly-grab]
| irc = polygone
| irc = polygone
| irc_network = hackint
| irc_network = hackint
Line 11: Line 12:


'''Google Poly''' is a platform for 3D objects. It will become read-only after 2021-04-30 and is shutting down on 2021-06-30<ref>{{URL|https://support.google.com/poly/answer/10192635}}</ref>.
'''Google Poly''' is a platform for 3D objects. It will become read-only after 2021-04-30 and is shutting down on 2021-06-30<ref>{{URL|https://support.google.com/poly/answer/10192635}}</ref>.
== Downloading Assets ==
The Poly API requires an API key. Each API key has a limit of 3000 queries per minute, and no limit per day/month<ref>https://developers.google.com/poly/develop/api#usage_and_quota</ref>.
It's possible to get all CC-By assets using [https://developers.google.com/poly/reference/api/rest/v1/assets/list https://poly.googleapis.com/v1/assets]. This returns an array that contains the information for each asset. The formats object contains links to the 3D model files, (sketch.gltf, sketch.bin and sketch.tilt, thumbnail.png) and these can be downloaded without an API key.
Other assets IDs would have to be scraped from search using https://poly.google.com/search/<search-term>. For each asset, the ID from the URL can be used  to retrieve the same info as above from [https://developers.google.com/poly/reference/api/rest/v1/assets/get https://poly.googleapis.com/v1/{name=assets/*}]
The Poly web interface appears at https://poly.google.com/view/<id-of-item>. The web interface downloads sketch.gltf and sketch.bin. I have not determined a way to download the sketch.tilt file using just the web interface.


== References ==
== References ==

Revision as of 02:17, 9 April 2021

Google Poly
Google Poly logo
Google Poly - 1-1-21.png
URL https://poly.google.com/
Status Closing
Archiving status Upcoming...
Archiving type Unknown
Project source google-poly-grab
IRC channel #polygone (on hackint)

Google Poly is a platform for 3D objects. It will become read-only after 2021-04-30 and is shutting down on 2021-06-30[1].

Downloading Assets

The Poly API requires an API key. Each API key has a limit of 3000 queries per minute, and no limit per day/month[2].

It's possible to get all CC-By assets using https://poly.googleapis.com/v1/assets. This returns an array that contains the information for each asset. The formats object contains links to the 3D model files, (sketch.gltf, sketch.bin and sketch.tilt, thumbnail.png) and these can be downloaded without an API key.

Other assets IDs would have to be scraped from search using https://poly.google.com/search/<search-term>. For each asset, the ID from the URL can be used to retrieve the same info as above from https://poly.googleapis.com/v1/{name=assets/*}

The Poly web interface appears at https://poly.google.com/view/<id-of-item>. The web interface downloads sketch.gltf and sketch.bin. I have not determined a way to download the sketch.tilt file using just the web interface.

References