Difference between revisions of "Google Poly"

From Archiveteam
Jump to navigation Jump to search
(Imagery and a navbox)
m (Getting ready)
(3 intermediate revisions by 2 users not shown)
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]
| tracker = [https://tracker.archiveteam.org/google-poly/ google-poly]
| irc = polygone
| irc = polygone
| irc_network = hackint
| irc_network = hackint
}}
}}


'''Google Poly''' is a platform for 3D objects. It 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 ==
 
=== 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>.
 
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/*}]


== References ==
== References ==

Revision as of 02:09, 9 June 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
Project tracker google-poly
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

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