diff --git a/Datanalitica.package/Tweet.class/instance/fromNitter..st b/Datanalitica.package/Tweet.class/instance/fromNitter..st new file mode 100644 index 0000000..81bfe08 --- /dev/null +++ b/Datanalitica.package/Tweet.class/instance/fromNitter..st @@ -0,0 +1,9 @@ +accessing +fromNitter: aDictionary + "created := (aDictionary at: 'pubDate') asDateAndTime." + text := aDictionary at: 'text'. + "id := aDictionary at: 'id'. + authorId := aDictionary at: 'author_id'." + user := aDictionary at: 'creator'. + "conversationId := aDictionary at: 'conversation_id' ifAbsent: [ '' ]." + ^ self \ No newline at end of file