gjohansson-ST / pytrafikverket

python module for communicating with the swedish trafikverket api
MIT License
21 stars 7 forks source link

Added support for weather sensors #1

Closed endor-force closed 6 years ago

endor-force commented 6 years ago

Added support to retreive weather sensor data from trafikverket road sensors. Verified with pylint and simulated successfully with cli test. Bumped version from 1.5.7 to 1.5.8

Weatherstation: https://api.trafikinfo.trafikverket.se/API/Model

Stations with names: https://www.trafikverket.se/trafikinformation/vag/?TrafficType=personalTraffic&map=1/606442.17/6886316.22/&Layers=RoadWeather%2b

Example CLI for weatherstations: -key [api_key here] -method get-weather -station "Upplid"

endor-force commented 6 years ago

@AnderssonPeter What do you think..?

AnderssonPeter commented 6 years ago

Hi, any chance you could take over this project? I don't write much python now days.

endor-force commented 6 years ago

Hej Peter,

Works fine for me.

You can transfer the ownership of the repo in the settings but I think it's best if you accept the pr first so I can dump my fork before you make the transfer

AnderssonPeter commented 6 years ago

I cant transfer until you remove your own repository, what is your pypi user? so i can transfer that package also.

endor-force commented 6 years ago

My fork is now deleted, PyPi userid endor.

AnderssonPeter commented 6 years ago

I have sent a transfer request on both github and PyPi, thanks for taking over this project (i haven't given it the love it deserves)