Difference between revisions of "Google Poly"

From Archiveteam
Jump to navigation Jump to search
(Add info about retrieving data from Poly)
 
(7 intermediate revisions by 6 users not shown)
Line 4: Line 4:
| image = Google Poly - 1-1-21.png
| image = Google Poly - 1-1-21.png
| URL = https://poly.google.com/
| URL = https://poly.google.com/
| project_status = {{closing}}
| project_status = {{offline}}
| archiving_status = {{upcoming}}
| archiving_status = {{saved}}
| source = [https://github.com/ArchiveTeam/google-poly-grab google-poly-grab]
| source = [https://github.com/ArchiveTeam/google-poly-grab google-poly-grab]
| tracker = [https://tracker.archiveteam.org/google-poly/ google-poly]
| irc = polygone
| irc = polygone
| irc_network = hackint
| irc_abandoned = true
| data = {{IA collection|archiveteam_googlepoly}}
}}
}}


'''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''' was a platform for 3D objects. It became read-only after 2021-04-30 and shut down on 2021-06-30<ref>{{URL|https://support.google.com/poly/answer/10192635}}</ref>.


== Downloading Assets ==
== Downloading Assets ==
=== Manual ===
The Poly web interface appears at https://poly.google.com/view/<id-of-item>. The web interface downloads sketch.gltf and sketch.bin. Links to sketch.gltf, sketch.bin and sketch.tilt can be found in the html page in the object passed to the second call of <pre>AF_initDataCallback</pre>. This works for models with any license.
Assets IDs can be grabbed from search using https://poly.google.com/search/<search-term>. Search for links to <pre>./view/<some-id></pre>. Unknown how to get past the first page.
=== API ===


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>.
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.
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, sketch.tilt and 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/*}]
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 ==

Latest revision as of 07:37, 23 December 2022

Google Poly
Google Poly logo
Google Poly - 1-1-21.png
URL https://poly.google.com/
Status Offline
Archiving status Saved!
Archiving type Unknown
Project source google-poly-grab
Project tracker google-poly
IRC channel #archiveteam-bs (on hackint)
(formerly #polygone (on hackint))
Data[how to use] archiveteam_googlepoly

Google Poly was a platform for 3D objects. It became read-only after 2021-04-30 and shut down on 2021-06-30[1].

Downloading Assets

Manual

The Poly web interface appears at https://poly.google.com/view/<id-of-item>. The web interface downloads sketch.gltf and sketch.bin. Links to sketch.gltf, sketch.bin and sketch.tilt can be found in the html page in the object passed to the second call of

AF_initDataCallback

. This works for models with any license. Assets IDs can be grabbed from search using https://poly.google.com/search/<search-term>. Search for links to

./view/<some-id>

. Unknown how to get past the first page.

API

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, sketch.tilt and 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/*}

References