-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
77 lines (47 loc) · 2.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
NAME
WWW::Getsy - Command line interface to Etsy V2 OAuth API
SYNOPSIS
Command line interface to Etsy V2 OAuth API
Register for a developer account here:
http://developer.etsy.com/member/register Then register your app for a
V2 Sandbox key: http://developer.etsy.com/apps/register
Then define your consumer key and secret environment variables
export OAUTH_CONSUMER_KEY='your_key'
export OAUTH_CONSUMER_SECRET='your_secret'
Finally start making some api calls
Get a list of all methods
getsy --sandbox --path '/'
Get your user info
getsy --sandbox --path '/users/__SELF__'
You can use the --method paramter to make post, put, and delete calls
(get is default) and --params to pass in a JSON string of parameters
getsy --sandbox --path '/listings/51455722' --params '{"title" : "changing the title"}' --method put
A full list of methods available here
http://developer.etsy.com/docs/methods
AUTHOR
John Goulah, "<jgoulah at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-www-getsy at
rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Getsy>. I will be
notified, and then you'll automatically be notified of progress on your
bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::Getsy
You can also look for information at:
* RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Getsy>
* AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/WWW-Getsy>
* CPAN Ratings
<http://cpanratings.perl.org/d/WWW-Getsy>
* Search CPAN
<http://search.cpan.org/dist/WWW-Getsy/>
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2012 John Goulah.
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.