First and foremost, this is just an example of what is capable. Do not use this code to spam, cause harm, or otherwise violate the Instagram API Terms of Use. Don't blame me if Instagram suspends your account. :D
This is an example of how to access the Instagram Stories API, get your stories, and do what you want with them. I believe in an open internet and having access to the content you create. Hopefully things like this can encourage Instagram to provide more access to their API's and help us create more beautiful things on the web.
This API wrapper spoofs the user agent to pretend to be a random Android phone, logs-in, stores cookies, and requests the API.
instagram = InstagramStoriesAPI.new()
@user_stories = instagram.get_user_stories()
@stories = instagram.get_stories()
I wrote a script hosted on Heroku that polls the API every hour or so and uploads any new Instagram Stories I post to Tumblr so I can keep them around longer. http://kyleturman-instastories.tumblr.com
Shout out to mgp25's Instagram-API project. I gleaned a few ideas from how to generate ids and user agents from that project.
Shout out to CaliAlec's ChromeIGStory project for helping me get started the right foot and providing inspiration.
Hit me up on Twitter if you want to chat about it.