Python exemplet

Added by Mats about 5 years ago

Hej, jag testade python-exemplet men stötte på lite probelm.

Jag har endast ändrat på två rader i koden:
username = 'username'
password = 'password'

Dessa har jag satt till mitt username och mitt password (samma som till detta forum antar jag).

Om jag sedan kör programmet får jag:

(venv)XPS-13:~/nordnet/src$ python test.py
timestamp:1445281108162
message:
system_running:True
valid_version:True
message:Something went wrong when logging in.
code:NEXT_LOGIN_INVALID_LOGIN_PARAMETER

Vad ska jag ändra i exempelkoden för att få det att funka?

mvh
Mats


Replies (9)

RE: Python exemplet - Added by Nordnet Aleksandar about 5 years ago

Hej,

Om du ger mej en tidsstämpel så kan jag se i loggarna vad som hänt

/Aleks

RE: Python exemplet - Added by Mats about 5 years ago

Är det den timestamp som testprogrammet genererar?

I så fall ser den ut så här:
timestamp:1445281108162

mvh
Mats

RE: Python exemplet - Added by Nordnet Aleksandar about 5 years ago

Det ser ut som att du faktist försöker logga in med fel lösenord.

Det ser även ut som att du faktist lyckats logga in 2 gånger igår, 19.26 och 20.50

RE: Python exemplet - Added by Mats about 5 years ago

Jag tror att dom lyckade inloggningarna kommer från att jag gjorde test-loggin in på:
https://api.test.nordnet.se/api-docs/index.html?#

Jag tror inte att jag har fel password i python-exmplet.

Jag testar vidare.

mvh
Mats

RE: Python exemplet - Added by Håkan over 4 years ago

Har samma problem. Hur löste det sig för dig Mats?

/Håkan

RE: Python exemplet - Added by Andreas over 4 years ago

Jag hade lite bekymmer med Python exemplet också så jag skrev en ny klient som vara lite mer anpassad till Python 3.5 och efter att ha förklarat
lösningen för diversekollegor så bestämde jag mig för at skriva ihop en lite enklare variant med exempel och beskrivande kommentarer.

Så ifall du har kört fast på inloggningen så kasta gärna ett öga på följande exempel så kanske det hjälper dig vidare i processen med lite tur.

https://github.com/larssonandreas/nordnet-api-example

/Andreas

RE: Python exemplet - Added by sunh about 1 month ago

먹튀검증 Your article was very impressive to me. 먹튀검증 It was unexpected information,안전놀이터 but after reading it like this,토토사이트 I found it very interesting. 꽁머니 Thank you very much. 꽁머니 It was an honor to see this information. 안전놀이터 I should upload similar information on my website. 스포츠중계 Come and check it out for me. In addition, https://mtboan.com/ COVID-19 is becoming a problem all over the world these days. 먹튀보안관 I hope there's no harm to you and your family. 먹튀가디언 Thank you https://twiddeo.com/

RE: Python exemplet - Added by sunh about 1 month ago

토토레프리 Hello,먹튀검증 your post was really impressive to me. I'm very happy 먹튀 to finally find the article 먹튀검증업체 I've been searching for. How did you write https://elephonemobile.com/ this article? 먹튀사이트 That's amazing. 메이저놀이터 It is no exaggeration to say that you are an expert in this field. 메이저놀이터 I want to 사설토토 learn how 메이저사설토토 to write from you. Actually, I'm posting on 사설놀이터 a similar site. 안전놀이터 It's not really easy. That's why 안전놀이터 I think you're even greater. 토토사이트 COVID-19 is a problem around the world these days. 메이저토토사이트 Are you okay? I would like to thank you again for always being careful and allowing me to read this. 토토사이트추천 Then have a happy day. 토토사이트 Thank you.

RE: Python exemplet - Added by sunh about 1 month ago

안전놀이터검증및연구센터 Nice to meet you. 토토사이트분석전문블로그 Your post was really impressive. 먹튀검증의새로운패러다임 It's an article of https://kipu.com.ua/ genius thathttps://remarka.kz/ I didn't think of. https://subtitles.ee/ I also run a website with 안전놀이터 a theme similar to 먹튀검증 that of your article. 토토사이트 I wish I had the talent to 먹튀사이트검증 write with a new perspective like you. 메이저토토사이트 How did you come to 메이저안전놀이터 think of this? 안전한사설토토사이트 I really want to know 공식안전놀이터 if I can. 먹튀검증커뮤니티 Because I want to 먹튀검증토토사이트 write like you. 먹튀검증토토 There are many articles on 사설안전놀이터] my website, but they are not enough compared to you. Could you visit my website if you have time? Please read the posts on my website and leave your thoughts. Then it will be very helpful for me to develop. Thank you. Have a great day.Nowadays,토토사이트검증업체 the weather is getting colder every day토토안전놀이터 , so wear warm clothes and watch out for a cold 확실한먹튀검증 It's really cool 검증토토사이트. I'd like to know more information. Just like your 안전한먹튀검증 I have 최고의안전놀이터

(1-9/9)