Api connection #1186
-
Script started So I've written a python twitch bot but can't seem to get what I need from LittleNavMap. Controller not found, can anyone shed any light? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Sorry, but your report lacks all kind of information. What URLs do you use to access the LNM web API (I guess) and what do you expect to get? Alex |
Beta Was this translation helpful? Give feedback.
-
LITTLENAVMAP_API_URL='http://localhost:8965' I'm hoping to extract aircraft info, positional, speeds, etc. Cheers for the prompt reply! Matt |
Beta Was this translation helpful? Give feedback.
-
https://github.com/Matt-Cummins/Twitch-Flight-Simulation-Bot Managed to get info from LNM for sim independent Twitch bot. Thanks so much for making this program! |
Beta Was this translation helpful? Give feedback.
The base URL does not give you anything. Did you look at webapi or webapi.yaml?
Unfortunately the log does not help much since I removed the logging of requests due to flooding the log file. Completely forgot that.
You can enable detailed logging by changing
WebserverDebug=false
toWebserverDebug=true
in section[Options]
of the settings file little_navmap.ini.