887760acc1
e.read() returns bytes
2021-06-18 12:23:10 +01:00
7e72cfd163
support dat
2021-02-23 09:09:35 +01:00
f7c7a6689b
don't print status during upload
2021-02-19 00:10:59 +01:00
fb8b33d916
fix variable name
2019-07-23 16:09:07 +02:00
75b12dfb86
normalize api to end with /
2019-04-30 18:44:33 +02:00
c804b50ea2
add get_url
2019-03-15 11:45:08 +00:00
e72d5bb6c1
space
2018-12-23 20:16:31 +01:00
a43de715ed
just import print_function
2018-09-18 22:37:13 +02:00
8ce2e3149a
python2 print does not support end=
2018-09-18 10:33:11 +02:00
9e3c8291b6
fix import
2018-08-07 14:08:21 +01:00
b7a18203ac
include upload_chunks
2018-08-05 20:45:49 +01:00
66e03ef508
pass api url not site
2018-05-10 10:29:41 +01:00
19115f1886
missing import
2018-05-09 19:03:15 +01:00
7099ea7e13
add wrapper to get signed in pan.do/ra api
2018-05-09 18:58:56 +01:00
14b6ad1a63
add api.save_url
2018-03-09 17:17:14 +05:30
5153c08698
remove with_statement(for 2.5) from __future__
2016-08-23 18:12:46 +02:00
77f8876fca
cleanup pylint errors and py2/3 issues
2016-06-08 15:32:46 +02:00
86bffd67b3
API: raise if caller supplies both dict and kwargs
...
I (incorrectly) wrote something like the following:
api.find({'query': {...}}, keys=['id'], range=[0, n])
and the query was silently ignored, giving totally different
results to what I wanted. fixes #2822
2015-08-02 15:57:48 +02:00
j
f50b02dd64
fix ox.api in python3
2014-10-04 16:05:00 +02:00
j
b70dfecccc
fix ox.api
2014-10-04 13:37:33 +02:00
j
d4d09b56b6
use six to support python 2 and 3
2014-09-30 21:04:46 +02:00
j
575549ae33
only add api methods to API instance
2014-01-03 00:54:49 +05:30
rolux
6f68729b6f
API: don't fail on missing 'doc' property
2013-11-23 15:17:59 +01:00
j
828223ad82
dont break ox.API subclasses
2013-11-03 16:39:57 +01:00
j
714729fee7
return new class for each ox.API call
2013-11-02 17:40:01 +01:00
j
ec04c29bcd
accept and support compressed response from api, POST with gzip encoded body is not supported in django/wsgi
2012-08-22 00:54:04 +02:00
j
981a0ee2ec
default mime type
2011-10-21 18:44:45 +02:00
j
da22dc0bf1
api results should be unicode
2011-10-13 20:07:01 +02:00
j
2c141fdbcf
add api, refine parse_movie_path
2011-10-13 19:28:18 +02:00