Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Mateusz Cygan
  2. 11:30
  3. Zerknąłem na Twój kod
  4. def api_caller(self):
  5. self.resp = requests.get(
  6. config.linkedin_api_url["profile_url"].format(
  7. public_url=self.url,
  8. token=self.token
  9. ))
  10. public_url=self.url możesz mi napisać skąd to self.url?
  11. Błażej Gerłowski
  12. 11:31
  13. podaje sie przy wywloaniu
  14. Linkedcostam(token=token)
  15. Mateusz Cygan
  16. 11:33
  17. Ale przy wywołaniu podajesz token nie url. Dobra rozkminię :D
  18. Błażej Gerłowski
  19. 11:33
  20. aaaa
  21. dobra
  22. no self.url sie bierze z innej metody
  23. ale po co rozkminiasz moj kod? :P przeciez Cb to nie interesuje ;p
  24. Mateusz Cygan
  25. 11:34
  26. Chcę zobaczyć jak zrobić requests.get z autoryzacją.
  27. Błażej Gerłowski
  28. 11:34
  29. to zobacz w dokumentacji angela
  30. przeciez patrzenie na moj kod nic Ci nie da :P
  31. Mateusz Cygan
  32. 11:35
  33. wiem, ale to muszę dostaosować do tego co już zrobił Michał
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement