Skip to content

Rathna-K/Kuna-Maximus-Camera-.NET-CORE-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kuna-Maximus-Camera-.NET-CORE-API

API for downloading videos from Kuna Maximus.

Usage:

All methods need to be Awaited. C#

{
    KunaAPI.KunaAPI kunaapi = new KunaAPI.KunaAPI(username, password);
    kunaapi.authenticate();
    kunaapi.update(); // will update all cameras and their info
                      // loop thru cameras to get recordings
    foreach (var c in camera)
    {
        var recordings = kapi.getallrecordings(c);
        foreach (var recording in recordings)
            // get download link
            dlink = kunaapi.getdownloadlink(recording);
    }
}

VB.Net

Dim kunaapi As New KunaAPI.KunaAPI(username, password)
kunaapi.authenticate
kunaapi.update 'will update all cameras and their info
'loop thru cameras to get recordings
for each c in camera
    dim recordings = kapi.getallrecordings(c)
    for each recording in recordings
        'get download link
        dlink = kunaapi.getdownloadlink(recording)
    next
next

credit to python developer: marthoc/pykuna

About

API for downloading videos from Kuna Maximus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published