Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
API client
« previous
next »
Print
Pages: [
1
]
Author
Topic: API client (Read 34200 times)
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
API client
«
on:
February 03, 2016, 05:36:25 pm »
Hi,
I just pushed my first classes of my API client.
https://github.com/fabianfrz/OPNsense_client_lib
Kind regards
fabian
Logged
franco
Administrator
Hero Member
Posts: 17653
Karma: 1610
Re: API client
«
Reply #1 on:
February 03, 2016, 09:35:52 pm »
Hi Fabian,
It looks good. Can you give a bit of insight in your motivation and goals for your client for us?
Cheers,
Franco
Logged
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: API client
«
Reply #2 on:
February 03, 2016, 11:27:54 pm »
This should work as a library which can be used by other programs, so it may be possible to build a command line interface as well as a graphical client which can be used by users who do not know a lot about firewalls.
For example, a server can use it to send an update command or a someone can create vouchers for clients from a custom interface.
Logged
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: API client
«
Reply #3 on:
February 05, 2016, 02:20:08 pm »
I added a sample code how this client library can be used here:
https://github.com/fabianfrz/OPNsense-client-library-sample
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
API client