mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
add twit-feed, twit-status
This commit is contained in:
parent
de6e230dd3
commit
b6ef9f6d40
17
mar/twit/feed.hoon
Normal file
17
mar/twit/feed.hoon
Normal file
@ -0,0 +1,17 @@
|
||||
:: Twitter statuses
|
||||
::
|
||||
:::: /hoon/feed/twit/mar
|
||||
::
|
||||
/+ twitter, httr-to-json
|
||||
|_ (list stat:twitter)
|
||||
++ grab
|
||||
|%
|
||||
++ noun (list stat:twitter)
|
||||
++ json (corl need (ar:jo stat:parse:twitter))
|
||||
++ httr (cork httr-to-json json) :: XX mark translation
|
||||
--
|
||||
++ grow
|
||||
|%
|
||||
++ tank >[+<]<
|
||||
--
|
||||
--
|
17
mar/twit/status.hoon
Normal file
17
mar/twit/status.hoon
Normal file
@ -0,0 +1,17 @@
|
||||
:: Twitter status
|
||||
::
|
||||
:::: /hoon/stat/twit/mar
|
||||
::
|
||||
/+ twitter, httr-to-json
|
||||
|_ stat:twitter
|
||||
++ grab
|
||||
|%
|
||||
++ noun stat:twitter
|
||||
++ json (corl need stat:parse:twitter)
|
||||
++ httr (cork httr-to-json json) :: XX mark translation
|
||||
--
|
||||
++ grow
|
||||
|%
|
||||
++ tank >[+<]<
|
||||
--
|
||||
--
|
@ -1,6 +1,6 @@
|
||||
:: Twitter api request
|
||||
:: List of twitter users
|
||||
::
|
||||
:::: /hoon/req/twit/mar
|
||||
:::: /hoon/usel/twit/mar
|
||||
::
|
||||
/+ twitter, httr-to-json
|
||||
|_ (list who/@ta)
|
||||
|
Loading…
Reference in New Issue
Block a user