bboxapi

Bbox router API library for Kotlin/Java/Android

License

License

GroupId

GroupId

fr.bmartel
ArtifactId

ArtifactId

bboxapi
Last Version

Last Version

1.7.0
Release Date

Release Date

Type

Type

jar
Description

Description

bboxapi
Bbox router API library for Kotlin/Java/Android
Project URL

Project URL

https://github.com/bertrandmartel/bboxapi-router
Source Code Management

Source Code Management

https://github.com/bertrandmartel/bboxapi-router

Download bboxapi

How to add to project

<!-- https://jarcasting.com/artifacts/fr.bmartel/bboxapi/ -->
<dependency>
    <groupId>fr.bmartel</groupId>
    <artifactId>bboxapi</artifactId>
    <version>1.7.0</version>
</dependency>
// https://jarcasting.com/artifacts/fr.bmartel/bboxapi/
implementation 'fr.bmartel:bboxapi:1.7.0'
// https://jarcasting.com/artifacts/fr.bmartel/bboxapi/
implementation ("fr.bmartel:bboxapi:1.7.0")
'fr.bmartel:bboxapi:jar:1.7.0'
<dependency org="fr.bmartel" name="bboxapi" rev="1.7.0">
  <artifact name="bboxapi" type="jar" />
</dependency>
@Grapes(
@Grab(group='fr.bmartel', module='bboxapi', version='1.7.0')
)
libraryDependencies += "fr.bmartel" % "bboxapi" % "1.7.0"
[fr.bmartel/bboxapi "1.7.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.2.30
com.github.kittinunf.fuel : fuel-gson jar 1.12.1

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
com.squareup.okhttp3 : mockwebserver jar 3.10.0
org.skyscreamer : jsonassert jar 1.5.0

Project Modules

There are no modules declared in this project.

BboxApi Router client library

Build Status Download Maven Central Javadoc codecov License

Bbox Router API client library for Kotlin/Java/Android

Go to Documentation

Features

  • login (POST /login)
  • information summary (GET /summary)
  • voip data (GET /voip)
  • device information (GET /device)
  • call log (GET /voip/fullcalllog/$line)
  • known hosts (GET /hosts)
  • wireless info (GET /wireless)
  • set wifi state (PUT /wireless?radio.enable=1)
  • set display state (PUT /device/display?luminosity=100)
  • dial phone number (PUT /voip/dial?line=$line&number=$num)
  • reboot bbox (POST /device/reboot?btoken=xxx)
  • get xdsl information (GET /wan/xdsl)
  • get wan ip info (GET /wan/ip)
  • enable/disable wifi mac filter (PUT /wireless/acl)
  • get wifi mac filters (GET /wireless/acl)
  • create wifi mac filter (POST /wireless/acl?btoken=xxx)
  • update wifi mac filter (PUT /wireless/acl/$rule)
  • delete wifi mac filter (DELETE /wireless/acl/$rule)
  • start password recovery (POST /password-recovery)
  • verify password recovery (GET /password-recovery/verify)
  • reset password (POST /reset-password)
  • services list (GET /services)
  • configure remote access (PUT /remote/admin?enable=1)

Tests

Run test on mockserver :

./gradlew test

External Library

API documentation

https://api.bbox.fr/doc/apirouter/index.html

License

The MIT License (MIT) Copyright (c) 2017-2018 Bertrand Martel

Versions

Version
1.7.0