Parameters

Submitted by Christian on Tue, 22/08/2006 - 23:29.

Locales

The Locale describes the formatting of numeric values and dates. It does not specify the language.
Following Locales are available for Spreadshirt.net:

Code

Description

AT

Austria

DE

Germany

ES

Spain

FI

Finnland

FR

France

GB

Great Britan

IE

Ireland

JP

Japan

NL

Netherlands

NO

Norway

PL

Poland

RU

Russia

SE

Sweden


Following locales are available for spreadshirt.com:

Code

Description

US

United States

CA

Canada

Languages

The language setting determines the language of the text responses (Note: All error messages are in English). Following languages are available on spreadshirt.net:

Code

Name

de

German

en

English

es

Spanish

fi

Finnish (Suomi)

fr

French

it

Italian

ja

Japanese

nl

Dutch

no

Norwegian

pl

Polish

ru

Russian

se

Swedish

zh

Chinese


Following Languages are available on Spreadshirt.com:

Code

Name

es

Spanish

fr

French

us

American English

Parameters for image base url

The functions get_article and get_articles return a parameter called “base_url”, for example
http://www.spreadshirt.net/image.php?type=image&product_id=2008898
You have to append serveral parameters to retrieve the desired article image.

Parameter

Possible Values

img_id

Depends on view_count. Most products have two printable sides, so use 1 for front view and 2 for back view.

Size

small = 42x42 px

medium = 130x130 px

big = 190x190 px

huge = 280x280 px


For example:
http://www.spreadshirt.net/image.php?type=image&product_id=2008898&img_id=1&size=big

( categories: )