{"id":23165972,"url":"https://github.com/ndejong/pfsense_fauxapi_client_bash","last_synced_at":"2025-04-04T21:28:15.307Z","repository":{"id":143026067,"uuid":"175929849","full_name":"ndejong/pfsense_fauxapi_client_bash","owner":"ndejong","description":"Bash client for pfSense-FauxAPI","archived":false,"fork":false,"pushed_at":"2020-07-18T07:26:26.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T06:14:18.939Z","etag":null,"topics":["pfsense","pfsense-fauxapi"],"latest_commit_sha":null,"homepage":"https://github.com/ndejong/pfsense_fauxapi","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndejong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-16T05:20:59.000Z","updated_at":"2021-09-10T22:10:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5eb5c95-bae6-4a15-8b2a-e4c5dceb5ba2","html_url":"https://github.com/ndejong/pfsense_fauxapi_client_bash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Fpfsense_fauxapi_client_bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Fpfsense_fauxapi_client_bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Fpfsense_fauxapi_client_bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Fpfsense_fauxapi_client_bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndejong","download_url":"https://codeload.github.com/ndejong/pfsense_fauxapi_client_bash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247251472,"owners_count":20908509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pfsense","pfsense-fauxapi"],"created_at":"2024-12-18T01:31:00.652Z","updated_at":"2025-04-04T21:28:15.286Z","avatar_url":"https://github.com/ndejong.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PfsenseFauxapi - Shell Interface\n\nA shell client for pfSense-FauxAPI - https://github.com/ndejong/pfsense_fauxapi\n\n### Example\n```bash\n# import fauxapi client functions from pfsense-fauxapi.sh \nsource \"sources/pfsense-fauxapi.sh\"\n\n# setup some variables\nfauxapi_host=\"\u003chost-address\u003e\"\nfauxapi_apikey=\"\u003cfauxapi-apikey\u003e\"\nfauxapi_apisecret=\"\u003cfauxapi-apisecret\u003e\"\n\n# generate an auth token to use\nexport fauxapi_auth=$(fauxapi_auth ${fauxapi_apikey} ${fauxapi_apisecret})\n\n# make a pfSnese-FauxAPI call, in this example get the system configuration\nsystem_config=$(fauxapi_config_get ${fauxapi_host})\n\n# output in JSON pretty print using jq\necho \"${system_config}\" | jq . \n```\n\nIt is recommended to review the commented out samples in the provided \n`fauxapi-sample.sh` file that cover all possible FauxAPI calls to gain a better\nidea on usage.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndejong%2Fpfsense_fauxapi_client_bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndejong%2Fpfsense_fauxapi_client_bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndejong%2Fpfsense_fauxapi_client_bash/lists"}