
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
github.com/liderman/yandex-rasp-api
Golang implementation Yandex Rasp Api v3.0 - https://tech.yandex.ru/rasp/doc/concepts/about-docpage/.
go get github.com/liderman/yandex-rasp-api
Getting a schedule of flights between stations:
yapi := NewYandexRapsApi("YOUR_APIKEY")
reps, _ := yapi.Search(map[string]string{
"from": "c146",
"to": "c213",
"lang": "ru_RU",
"page": "1",
"date": "2017-05-18",
"limit": "2",
})
fmt.Println(reps);
Getting information about the nearest town to the specified point:
yapi := NewYandexRapsApi("YOUR_APIKEY")
reps, err := yapi.NearestSettlement(map[string]string{
"lat": "50.440046",
"lng": "40.4882367",
"distance": "50",
"lang": "ru_RU",
})
fmt.Println(reps);
More examples can be found in the test files.
go1.2
or newer.You can read package documentation here. Official docs: here
Unit-tests:
go test -v
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.