'How to use python to log on Nike+ website?

Here's the link: http://nikeplus.nike.com/plus/ The email/password option only shows when I click "Log in" button. So how to use python to log into this website?

I tried twill and got the forms on the page but it includes only the search bar. So not sure how to proceed



Solution 1:[1]

While not a python solution, I wrote a PHP class that actually lets you get the data from the Nike+ website: https://nikeplusphp.charanj.it

The class works by faking the login on the website and then makes requests to the feeds. If you look through the code you'll find all the URLs to make the necessary GET requests and there is a method called _login() and this should give you an idea of what parameters are posted.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1