2016-03-07 21:42:05 +03:00
|
|
|
:: A Twitter API library.
|
|
|
|
::
|
|
|
|
:::: /hoon/twitter/lib
|
|
|
|
::
|
|
|
|
/? 314
|
2016-03-08 00:42:23 +03:00
|
|
|
/- twitter
|
|
|
|
/+ oauth1
|
|
|
|
=+ oauth1=oauth1
|
|
|
|
=+ sur-twit:^twitter :: XX
|
2016-03-07 21:42:05 +03:00
|
|
|
!:
|
|
|
|
:::: functions
|
|
|
|
::
|
|
|
|
|%
|
|
|
|
++ fass :: rewrite path
|
2016-03-08 00:42:23 +03:00
|
|
|
|= a/path
|
2016-03-07 21:42:05 +03:00
|
|
|
%- trip
|
|
|
|
%^ gsub '-' '_'
|
|
|
|
%+ reel a
|
2016-03-08 00:42:23 +03:00
|
|
|
|= {p/@t q/@t}
|
2016-03-07 21:42:05 +03:00
|
|
|
(cat 3 '/' (cat 3 p q))
|
|
|
|
::
|
|
|
|
++ gsub :: replace chars
|
2016-03-08 00:42:23 +03:00
|
|
|
|= {a/@t b/@t t/@t}
|
2016-03-07 21:42:05 +03:00
|
|
|
^- @t
|
2016-03-08 00:42:23 +03:00
|
|
|
?: =('' t) t
|
|
|
|
%+ mix (lsh 3 1 $(t (rsh 3 1 t)))
|
|
|
|
=+ c=(end 3 1 t)
|
2016-03-07 21:42:05 +03:00
|
|
|
?:(=(a c) b c)
|
|
|
|
::
|
|
|
|
++ valve :: produce request
|
2016-03-08 00:42:23 +03:00
|
|
|
|= $: med/meth
|
|
|
|
{rus/tape quy/quay}
|
|
|
|
key/keys
|
|
|
|
est/time
|
|
|
|
eny/@
|
2016-03-07 21:42:05 +03:00
|
|
|
==
|
|
|
|
^- hiss
|
|
|
|
=+ url="https://api.twitter.com/1.1{rus}.json"
|
2016-03-08 00:42:23 +03:00
|
|
|
=+ req=|=(a/tape (scan a auri:epur))
|
2016-03-07 21:42:05 +03:00
|
|
|
=+ ^= help
|
2016-03-08 00:42:23 +03:00
|
|
|
|= quy/(list {tape tape})
|
2016-03-07 21:42:05 +03:00
|
|
|
^- (list tape)
|
|
|
|
%+ turn quy
|
2016-03-08 00:42:23 +03:00
|
|
|
|= a/{p/tape q/tape}
|
2016-03-07 21:42:05 +03:00
|
|
|
:(weld (urle p.a) "=" (urle q.a))
|
2016-03-08 00:42:23 +03:00
|
|
|
=+ tan=(turn quy |=({p/@t q/@t} [(trip p) (trip q)]))
|
|
|
|
=+ har=(help (turn tan |=(p/{p/tape q/tape} [p.p (urle q.p)])))
|
2016-03-07 21:42:05 +03:00
|
|
|
=+ hab=(help tan)
|
2016-03-08 00:42:23 +03:00
|
|
|
=+ lav=(reel har |=({p/tape q/tape} :(weld p "&" q)))
|
2016-03-07 21:42:05 +03:00
|
|
|
=+ voy=?:(=(0 (lent lav)) ~ (scag (dec (lent lav)) `tape`lav))
|
2016-03-08 00:42:23 +03:00
|
|
|
=+ vab=(reel hab |=({p/tape q/tape} :(weld p "&" q)))
|
2016-03-07 21:42:05 +03:00
|
|
|
=+ vur=(crip ?:(=(0 (lent vab)) ~ (scag (dec (lent vab)) `tape`vab)))
|
|
|
|
=+ ^= head
|
|
|
|
%- ~(gas by *math)
|
2016-03-08 00:42:23 +03:00
|
|
|
~! ^twitter
|
|
|
|
~! oauth1:^twitter
|
2016-03-07 22:05:37 +03:00
|
|
|
:~ ['authorization' [(oauth1 med url hab key est eny) ~]]
|
2016-03-07 21:42:05 +03:00
|
|
|
['content-type' ['application/x-www-form-urlencoded' ~]]
|
|
|
|
==
|
|
|
|
?: =(%get med)
|
|
|
|
?~ voy
|
|
|
|
[(req url) med head ~]
|
|
|
|
[(req :(weld url "?" voy)) med head ~]
|
|
|
|
[(req url) med head (some [(met 3 vur) vur])]
|
|
|
|
--
|
|
|
|
!:
|
|
|
|
:::: library
|
|
|
|
::
|
|
|
|
|%
|
|
|
|
++ twip :: response printers
|
|
|
|
|%
|
|
|
|
++ mean
|
|
|
|
|= [msg=@t num=@ud] ^- tank
|
|
|
|
rose/[": " `~]^~[leaf/"Error {<num>}" leaf/(trip msg)]
|
|
|
|
--
|
|
|
|
++ twir :: response parsers
|
|
|
|
|%
|
2016-03-08 00:42:23 +03:00
|
|
|
++ fasp |*({a/@tas b/*} [(gsub '-' '_' a) b])
|
2016-03-07 21:42:05 +03:00
|
|
|
++ user (cook crip (plus ;~(pose aln cab)))
|
2016-03-08 00:42:23 +03:00
|
|
|
++ mean (ot errors+(ar (ot message+so code+ni ~)) ~):jo
|
2016-03-07 21:42:05 +03:00
|
|
|
++ stat
|
|
|
|
=+ jo
|
2016-03-08 00:42:23 +03:00
|
|
|
^- $-(json (unit {id+@u who+@ta now+@da txt+@t}))
|
2016-03-07 21:42:05 +03:00
|
|
|
%- ot
|
2016-03-08 00:42:23 +03:00
|
|
|
:~ id+ni
|
|
|
|
user+(ot (fasp screen-name+(su user)) ~)
|
|
|
|
(fasp created-at+da)
|
|
|
|
text+so
|
2016-03-07 21:42:05 +03:00
|
|
|
==
|
|
|
|
++ usel
|
|
|
|
=+ jo
|
2016-03-08 00:42:23 +03:00
|
|
|
^- $-(json (unit (list who/@ta)))
|
|
|
|
=- (ot users+(ar -) ~)
|
|
|
|
(ot (fasp screen-name+(su user)) ~)
|
2016-03-07 21:42:05 +03:00
|
|
|
--
|
2016-03-07 22:05:37 +03:00
|
|
|
++ main
|
2016-03-07 21:42:05 +03:00
|
|
|
=> |% :: request structures
|
2016-03-08 00:42:23 +03:00
|
|
|
++ dev @t :: device name
|
|
|
|
++ gat @t :: grant type
|
|
|
|
++ lat @t :: latitude
|
2016-03-07 21:42:05 +03:00
|
|
|
++ lid (list tid)
|
2016-03-08 00:42:23 +03:00
|
|
|
++ lon @t :: longitude
|
2016-03-07 21:42:05 +03:00
|
|
|
++ lsc (list scr)
|
2016-03-08 00:42:23 +03:00
|
|
|
++ lst (list @t)
|
|
|
|
++ nam @t :: location name
|
|
|
|
++ pla @t :: place-id
|
|
|
|
++ scr @t :: screen name
|
|
|
|
++ slu @t :: category name
|
|
|
|
++ tid @u
|
|
|
|
++ tok @t :: oauth token
|
|
|
|
++ url @t :: callback url
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
2016-03-08 00:42:23 +03:00
|
|
|
++ at {$access-token p/tok}
|
|
|
|
++ de {$device p/dev}
|
|
|
|
++ fo {$follow p/lid}
|
|
|
|
++ gr {$grant-type p/gat}
|
|
|
|
++ id {$id p/tid}
|
|
|
|
++ ii {$'!inline' p/@t}
|
|
|
|
++ is {$id p/lid}
|
|
|
|
++ la {$lat p/lat}
|
|
|
|
++ lo {$long p/lon}
|
|
|
|
++ na {$name p/lid}
|
|
|
|
++ oa {$oauth-callback p/url}
|
|
|
|
++ os {$source-screen-name p/scr}
|
|
|
|
++ pl {$place-id p/pla}
|
|
|
|
++ qq {$q p/@t}
|
|
|
|
++ sc {$screen-name p/scr}
|
2016-03-07 21:42:05 +03:00
|
|
|
++ sd ?(ui sc)
|
2016-03-08 00:42:23 +03:00
|
|
|
++ ss {$screen-name p/lsc}
|
|
|
|
++ sl {$slug p/slu}
|
|
|
|
++ si {$source-id p/tid}
|
|
|
|
++ st {$status p/@t}
|
|
|
|
++ te {$text p/@t}
|
|
|
|
++ ti {$target-id p/tid}
|
|
|
|
++ ts {$target-screen-name p/scr}
|
|
|
|
++ tr {$track p/lst}
|
|
|
|
++ ur {$url p/url}
|
|
|
|
++ ui {$user-id p/tid}
|
|
|
|
++ us {$user-id p/lid}
|
2016-03-07 21:42:05 +03:00
|
|
|
--
|
2016-03-08 00:42:23 +03:00
|
|
|
|_ {key/keys est/time eny/@uw}
|
2016-03-07 21:42:05 +03:00
|
|
|
++ lutt |=(@ `@t`(rsh 3 2 (scot %ui +<)))
|
|
|
|
++ llsc
|
|
|
|
|= (list scr)
|
2016-03-08 00:42:23 +03:00
|
|
|
(roll +< |=({p/scr q/@t} (cat 3 (cat 3 q ',') p)))
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ llst
|
2016-03-08 00:42:23 +03:00
|
|
|
|= (list @t)
|
|
|
|
(roll +< |=({p/@t q/@t} (cat 3 (cat 3 q ',') p)))
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ llid
|
|
|
|
|= (list tid)
|
2016-03-08 00:42:23 +03:00
|
|
|
(roll +< |=({p/tid q/@t} (cat 3 (cat 3 q ',') (lutt p))))
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ mold :: construct request
|
2016-03-08 00:42:23 +03:00
|
|
|
|* {med/meth pax/path a/$-(* *)}
|
|
|
|
|= {args/a quy/quay}
|
2016-03-07 21:42:05 +03:00
|
|
|
(valve med (cowl pax args quy) key est eny)
|
|
|
|
::
|
|
|
|
++ cowl :: handle parameters
|
2016-03-08 00:42:23 +03:00
|
|
|
|= $: pax/path
|
|
|
|
ban/(list {p/@t q/?(@ (list @))})
|
|
|
|
quy/quay
|
2016-03-07 21:42:05 +03:00
|
|
|
==
|
|
|
|
^- [path quay]
|
|
|
|
?~ ban
|
|
|
|
[(fass pax) quy]
|
|
|
|
?: =('!inline' p.i.ban)
|
|
|
|
?@ q.i.ban
|
|
|
|
[(fass (welp pax /[`@t`q.i.ban])) quy]
|
|
|
|
!!
|
|
|
|
:- (fass pax)
|
|
|
|
%+ welp quy
|
2016-03-08 00:42:23 +03:00
|
|
|
%+ turn `(list {p/@t q/?(@ (list @))})`ban
|
|
|
|
|= {p/@t q/?(@ (list @))}
|
2016-03-07 21:42:05 +03:00
|
|
|
^- [@t @t]
|
|
|
|
:- (gsub '-' '_' p)
|
|
|
|
?@ q
|
|
|
|
?- p
|
2016-03-08 00:42:23 +03:00
|
|
|
?($id $source-id $target-id $user-id) (lutt q)
|
2016-03-07 21:42:05 +03:00
|
|
|
@ `@t`q
|
|
|
|
==
|
|
|
|
?- p
|
2016-03-08 00:42:23 +03:00
|
|
|
?($follow $id $name $user-id) (llid q)
|
|
|
|
$track (llst q)
|
|
|
|
$screen-name (llsc q)
|
2016-03-07 21:42:05 +03:00
|
|
|
* !!
|
|
|
|
==
|
|
|
|
::
|
|
|
|
++ stat-ment
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/mentions-timeline $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-user
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/user-timeline {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-home
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/home-timeline $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-retw
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/retweets-of-me $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-rets-iddd
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/retweets {ii $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-show
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/show {id $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-dest-iddd
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /statuses/destroy {ii $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-upda
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /statuses/update {st $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-retw-iddd
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /statuses/retweet {ii $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-oemb-iddd
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/oembed {id $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-oemb-urll
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/oembed {ur $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-retw-idss
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/retweeters/ids {id $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ sear-twee
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /search/tweets {qq $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-filt-foll
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /statuses/filter {?(fo tr) $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-samp
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/sample $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-fire
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/firehose $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /user $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ site
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /site {fo $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ dire
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /direct-messages $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ dire-sent
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /direct-messages/sent $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ dire-show
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /direct-messages/show {id $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ dire-dest
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /direct-messages/destroy {id $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ dire-neww
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /direct-messages/new {sd te $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-nore-idss
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /friendships/no-retweets/ids $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-idss
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /friends/ids {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ foll-idss
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /followers/ids {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-inco
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /friendships/incoming $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-outg
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /friendships/outgoing $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-crea
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /friendships/create {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-dest
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /friendships/destroy {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-upda
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /friendships/update {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-show
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /friendships/show {?(si os) ?(ti ts) $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-list
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /friends/list {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ foll-list
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /followers/list {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ frie-look
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /friendships/lookup {?(us ss) $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ acco-sett-gett
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /account/settings $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ acco-veri
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /account/verify-credentials $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ acco-sett-post
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /account/settings $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ acco-upda-deli
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /account/update-delivery-device {de $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ acco-upda-prof
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /account/update-profile $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ acco-upda-prof-back
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /account/update-profile-background-image $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ acco-upda-prof-colo
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /account/update-profile-colors $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ bloc-list
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /blocks/list $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ bloc-idss
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /blocks/ids $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ bloc-crea
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /blocks/create {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ bloc-dest
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /blocks/destroy {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-look
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /users/lookup {?(us ss) $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-show
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /users/show {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-sear
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /users/search {qq $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-cont-tees
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /users/contributees {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-cont-tors
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /users/contributors {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ acco-remo
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /account/remove-profile-banner $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-prof
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /users/profile-banner {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ mute-user-crea
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /mutes/users/create {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ mute-user-dest
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /mutes/users/destroy {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ mute-user-idss
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /mutes/users/ids $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ mute-user-list
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /mutes/users/list $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-sugg-slug
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /users/suggestions {sl $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-sugg
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /users/suggestions $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ favo-list
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /favorites/list $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ favo-dest
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /favorites/destroy {id $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ favo-crea
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /favorites/create {id $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-list
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/list $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-stat
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/statuses $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-memb-dest
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/members/destroy $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-memb-hips
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/memberships {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-subs-bers
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/subscribers $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-subs-crea
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/subscribers/create $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-subs-show
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/subscribers/show {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-subs-dest
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/subscribers/destroy $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-memb-crea-alll
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/members/create-all {?(us ss) $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-memb-show
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/members/show {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-memb-bers
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/members $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-memb-crea
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/members/create {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-dest
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/destroy $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-upda
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/update $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-crea
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/create {na $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-show
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/show $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-subs-ions
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/subscriptions {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-memb-dest-alll
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /lists/members/destroy-all {?(us ss) $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ list-owne
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /lists/ownerships {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ save-list
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /saved-searches/list $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ save-show-iddd
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /saved-searches/show {ii $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ save-crea
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /saved-searches/create {qq $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ save-dest-iddd
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /saved-searches/destroy {ii $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ geoo-iddd-plac
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /geo/id {ii $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ geoo-reve
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /geo/reverse-geocode {la lo $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ geoo-sear
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /geo/search $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ geoo-simi
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /geo/similar-places {la lo na $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ tren-plac
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /trends/place {id $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ tren-avai
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /trends/available $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ tren-clos
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /trends/closest {la lo $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ user-repo
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /users/report-spam {sd $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ oaut-auth-cate
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /oauth/authenticate $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ oaut-auth-rize
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /oauth/authorize $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ oaut-acce
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /oauth/access-token $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ oaut-requ
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /oauth/request-token {oa $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ oaut-toke
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /oauth2/token {gr $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ oaut-inva
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %post /oauth2/invalidate-token {at $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ help-conf
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /help/configuration $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ help-lang
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /help/languages $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ help-priv
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /help/privacy $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ help-toss
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /help/tos $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ appl-rate
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /application/rate-limit-status $~)
|
2016-03-07 21:42:05 +03:00
|
|
|
::
|
|
|
|
++ stat-look
|
2016-03-08 00:42:23 +03:00
|
|
|
(mold %get /statuses/lookup {us $~})
|
2016-03-07 21:42:05 +03:00
|
|
|
--
|
|
|
|
--
|