2015-11-22, 07:17
(2015-11-16, 18:42)GriffeyJuni0r Wrote:(2015-11-16, 00:38)maxgalbu Wrote: The problem is how to know what team you chose for your account (without creating a setting). Can you try and execute this line of code in your terminal, replacing "yourusername" and "yourpassword" and paste the result here?
Code:curl -X POST -d "username=yourusername&password=yourpassword" "https://watch.nba.com/nba/secure/login?"
Eg. mine is:
Code:<?xml version="1.0" encoding="UTF-8"?>
<result>
<code>loginsuccess</code>
<data>
<premium>
<![CDATA[true]]>
</premium>
<givenName>
<![CDATA[Massimo]]>
</givenName>
<refresh>
<![CDATA[true]]>
</refresh>
<userName>
<![CDATA[myusername]]>
</userName>
<hasSubscription>
<![CDATA[true]]>
</hasSubscription>
</data>
</result>
Thanks for looking into this - I figured it would likely have to be a setting, but if you can figure how how to do it in the code that would be great too. Here's my result:
Code:<?xml version="1.0" encoding="UTF-8"?>
<result>
<code>loginsuccess</code>
<data>
<premium><![CDATA[true]]></premium>
<givenName><![CDATA[dot]]></givenName>
<refresh><![CDATA[true]]></refresh>
<userName><![CDATA[myusername]]></userName>
<hasSubscription><![CDATA[true]]></hasSubscription>
</data>
</result>
Guessing that didn't give us much about what specific team the subscription was for - Anything else I can try to help?