Skip to content

A library to connect to the API of a Synology box. Primarily focused on the AudioStation – for now.

License

Notifications You must be signed in to change notification settings

kanakodavis/SynologyAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SynologyAPI

A library to connect to the API of a Synology box. Primarily focused on the AudioStation – for now.

This is supposed to be a learning project. To learn C++ and writing clean well documented code - if possible. Since it is a learning project it will probably have a ton of mistakes and illformed code in it – watch out!

If someone has suggestions on how to improve please write an email or make a pull request. The lack of Documentation on the AudioStation API make it kinda hard to work with. I am doing everything with "reverse engineering" via Wireshark and my trusted phone and peeking over to zzarbi.

Use without any warranty.

IMPORTANT

There is no encryption for the login - yet. That means if you use this on a public network your access data will be exposed!

TODO

  • Include crypto lib for secure login
  • Loading covers from cover.cgi
  • Loading stream from stream.cgi

USAGE

  1. Create object – api::AudioStationAPI("httpt", "URL", port);

  2. call api->LogIn("user", "password");

    call methods to get song, artist, album info

  3. Logout – api->LogOut();

THX

Thx to zzarbi – got (a lot) ideas from his work: https://github.com/zzarbi/synology/blob/master/library/Synology/

About

A library to connect to the API of a Synology box. Primarily focused on the AudioStation – for now.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published