Created
February 7, 2017 21:25
-
-
Save YolandaMDavis/3381614157e43d4fc2bdfc62f66ba507 to your computer and use it in GitHub Desktop.
Twitter JOLT Specifications - Jolt 1.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"operation": "shift", | |
"spec": { | |
"created_at": "created_date_time", | |
"id": "tweet_id", | |
"text": "tweet_text", | |
"*":"&" | |
} | |
},{ | |
"operation": "default", | |
"spec": { | |
"user":{ | |
"rating": 4 | |
} | |
} | |
},{ | |
"operation": "modify-default-beta", | |
"spec": { | |
"~in_reply_to_status_id": 0, | |
"~in_reply_to_user_id": "", | |
"~in_reply_to_user_id_str": 0, | |
"~in_reply_to_screen_name": "" | |
} | |
}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"operation": "eu.zacheusz.jolt.date.Dater", | |
"spec": { | |
"input" : { | |
"defaultInputFormat" : "yyyy-MM-dd", | |
"acceptableInputFormats" : ["MM/dd/yyyy","EEE MMM d HH:mm:ss z YYYY", | |
"yyyy-MM-dd HH:mm:ss", | |
"dd-M-yyyy hh:mm:ss"] | |
}, | |
"output" : { | |
"created_date_time" : "TIMESTAMP" | |
} | |
} | |
}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"user": { | |
"*": "user_&" | |
}, | |
"in_reply_to_*":"in_reply_to.&(0,1)", | |
"quoted_status": { | |
"entities": { | |
"media": { | |
"*": "media_&" | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"created_at":"Tue Dec 20 20:27:37 +0000 2016","id":811307084926963712,"id_str":"811307084926963712","text":"That's some final destination stuff https:\/\/t.co\/fub6MabOeq","display_text_range":[0,35],"source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\u003c\/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":732966133385420802,"id_str":"732966133385420802","name":"Kayla || 337","screen_name":"kaylitfam420","location":null,"url":null,"description":"cshs \u2661 17 \ud83c\udff3\ufe0f\u200d\ud83c\udf08","protected":false,"verified":false,"followers_count":186,"friends_count":400,"listed_count":0,"favourites_count":4250,"statuses_count":2346,"created_at":"Wed May 18 16:08:38 +0000 2016","utc_offset":null,"time_zone":null,"geo_enabled":false,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"F5F8FA","profile_background_image_url":"","profile_background_image_url_https":"","profile_background_tile":false,"profile_link_color":"1DA1F2","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/808058620038393857\/NuD0I3VV_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/808058620038393857\/NuD0I3VV_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/732966133385420802\/1481435683","default_profile":true,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"quoted_status_id":810296755103428608,"quoted_status_id_str":"810296755103428608","quoted_status":{"created_at":"Sun Dec 18 01:32:55 +0000 2016","id":810296755103428608,"id_str":"810296755103428608","text":"This happened this morning at 1-95 Baltimore\ud83d\ude33 https:\/\/t.co\/q1ae9ee8mL","source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\u003c\/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":2795058654,"id_str":"2795058654","name":"WSHH VIDS","screen_name":"WSHHVlDS","location":"DM FOR PROMO","url":null,"description":"Not Affiliated with @WORLDSTAR or Vine. * Parody Account *We do not own any of the content that is posted. For takedowns DM us. DM's are open.","protected":false,"verified":false,"followers_count":237036,"friends_count":413,"listed_count":210,"favourites_count":317,"statuses_count":852,"created_at":"Sun Sep 07 01:27:16 +0000 2014","utc_offset":-18000,"time_zone":"Eastern Time (US & Canada)","geo_enabled":true,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_image_url_https":"https:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_tile":false,"profile_link_color":"1DA1F2","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/764527274490269696\/dUwmKBsm_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/764527274490269696\/dUwmKBsm_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/2795058654\/1471112701","default_profile":true,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":1791,"favorite_count":2229,"entities":{"hashtags":[],"urls":[],"user_mentions":[],"symbols":[],"media":[{"id":810137435044773888,"id_str":"810137435044773888","indices":[47,70],"media_url":"http:\/\/pbs.twimg.com\/ext_tw_video_thumb\/810137435044773888\/pu\/img\/ajcGzBxCgWT6LWrw.jpg","media_url_https":"https:\/\/pbs.twimg.com\/ext_tw_video_thumb\/810137435044773888\/pu\/img\/ajcGzBxCgWT6LWrw.jpg","url":"https:\/\/t.co\/q1ae9ee8mL","display_url":"pic.twitter.com\/q1ae9ee8mL","expanded_url":"https:\/\/twitter.com\/ayotheballer\/status\/810137792063950849\/video\/1","type":"photo","sizes":{"thumb":{"w":150,"h":150,"resize":"crop"},"small":{"w":340,"h":618,"resize":"fit"},"large":{"w":352,"h":640,"resize":"fit"},"medium":{"w":352,"h":640,"resize":"fit"}},"source_status_id":810137792063950849,"source_status_id_str":"810137792063950849","source_user_id":1019537768,"source_user_id_str":"1019537768"}]},"extended_entities":{"media":[{"id":810137435044773888,"id_str":"810137435044773888","indices":[47,70],"media_url":"http:\/\/pbs.twimg.com\/ext_tw_video_thumb\/810137435044773888\/pu\/img\/ajcGzBxCgWT6LWrw.jpg","media_url_https":"https:\/\/pbs.twimg.com\/ext_tw_video_thumb\/810137435044773888\/pu\/img\/ajcGzBxCgWT6LWrw.jpg","url":"https:\/\/t.co\/q1ae9ee8mL","display_url":"pic.twitter.com\/q1ae9ee8mL","expanded_url":"https:\/\/twitter.com\/ayotheballer\/status\/810137792063950849\/video\/1","type":"video","sizes":{"thumb":{"w":150,"h":150,"resize":"crop"},"small":{"w":340,"h":618,"resize":"fit"},"large":{"w":352,"h":640,"resize":"fit"},"medium":{"w":352,"h":640,"resize":"fit"}},"source_status_id":810137792063950849,"source_status_id_str":"810137792063950849","source_user_id":1019537768,"source_user_id_str":"1019537768","video_info":{"aspect_ratio":[11,20],"duration_millis":140019,"variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video.twimg.com\/ext_tw_video\/810137435044773888\/pu\/pl\/rCjqqkaNetcZeSTC.m3u8"},{"bitrate":320000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/ext_tw_video\/810137435044773888\/pu\/vid\/176x320\/DKoBb4lq_q7DC3NM.mp4"},{"content_type":"application\/dash+xml","url":"https:\/\/video.twimg.com\/ext_tw_video\/810137435044773888\/pu\/pl\/rCjqqkaNetcZeSTC.mpd"},{"bitrate":832000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/ext_tw_video\/810137435044773888\/pu\/vid\/352x640\/wJSGN5YTzFgEYcmL.mp4"}]}}]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"filter_level":"low","lang":"en"},"is_quote_status":true,"retweet_count":0,"favorite_count":0,"entities":{"hashtags":[],"urls":[{"url":"https:\/\/t.co\/fub6MabOeq","expanded_url":"https:\/\/twitter.com\/wshhvlds\/status\/810296755103428608","display_url":"twitter.com\/wshhvlds\/statu\u2026","indices":[36,59]}],"user_mentions":[],"symbols":[]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"filter_level":"low","lang":"en","timestamp_ms":"1482265657060"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment