Skip to content

Instantly share code, notes, and snippets.

View cedricpinson's full-sized avatar

Cedric Pinson cedricpinson

View GitHub Profile
#!/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
from poster.encode import multipart_encode
from poster.streaminghttp import register_openers
import urllib2
register_openers()
filename="../data/model.zip"
description="Test of the api with a simple model"
token_api="xxxxxxxxxxxxxxxxx"
title="model title"