Created
May 3, 2012 13:20
-
-
Save cedricpinson/2585560 to your computer and use it in GitHub Desktop.
sketchfab api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
path="./" | |
filename="Ellly.blend" | |
file=${path}${filename} | |
description="Test of the api with a simple model" | |
token_api="ff00ff" | |
title="test upload model" | |
tags="test blender character" | |
private=1 | |
password="Tr0b4dor&3" | |
curl -k -X POST -F "fileModel=@{file}" -F "filenameModel=${filename}" -F "title=${title}" -F "description=${description}" -F "tags=${tags}" -F "private=${private}" -F "password=${password}" -F "token=${token_api}" https://api.sketchfab.com/v1/models |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment