shrub/mar/twit/cred.hoon

23 lines
454 B
Plaintext
Raw Normal View History

:: Twitter credentials
::
:::: /hoon/cred/twit/mar
::
/- plan-acct
2016-04-01 02:15:10 +03:00
/+ httr-to-json, twitter
|_ {acc/plan-acct raw/json}
++ grab
|%
++ noun {plan-acct ^json}
++ httr (cork httr-to-json json) :: XX mark translation
++ json
|= jon/^json ^- {plan-acct ^json}
=+ usr=(need ((ot 'screen_name'^so ~):jo jon))
2016-04-01 02:15:10 +03:00
=+ url=(user-url:render:twitter usr)
2016-04-01 03:39:48 +03:00
[[usr (some url)] jon]
--
++ grow
|%
2016-04-01 02:15:10 +03:00
++ tank >[+<.+]<
--
--