Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
HackApi for OPNsense - php API client
« previous
next »
Print
Pages: [
1
]
Author
Topic: HackApi for OPNsense - php API client (Read 1561 times)
soif
Newbie
Posts: 2
Karma: 2
HackApi for OPNsense - php API client
«
on:
January 12, 2024, 06:19:37 pm »
Hi folks,
Just to let you know that i've just released HackApi, a php API client , with an OPNsense module.
https://github.com/soif/HackApi/
It currently implements
658 methods
to interface with the OPNsense API.
I've successfully tested over 250 methods (endpoints) that are now production ready.
If you like this library, you're more than welcome to test and report untested methods and/or add missing descriptions. Pull Requests are always welcome!
FYI this API client also implements modules for openWRT, Huawei or ZTE modems, and SFR (isp) boxes....
Feel free to add your own, if you like.
Happy new year!
Logged
alexdelprete
Jr. Member
Posts: 72
Karma: 4
Re: HackApi for OPNsense - php API client
«
Reply #1 on:
January 31, 2024, 04:52:18 pm »
This is really interesting. I'm collaborating on this project to integrate OPNsense in Home Assistant:
https://github.com/travisghansen/hass-opnsense/
It uses both REST API and XMLrpc because the API doesn't offer everything needed. I wonder if using your library we could cover everything.
I'll tell Travis, the dev, about this so he can take a look and see if it fits well.
Thanks a lot.
Logged
soif
Newbie
Posts: 2
Karma: 2
Re: HackApi for OPNsense - php API client
«
Reply #2 on:
February 07, 2024, 11:59:16 am »
Thank you
I've just replied in your Github issue...
https://github.com/soif/HackApi/issues/1
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
HackApi for OPNsense - php API client