Commit graph

4 commits

Author SHA1 Message Date
Cristian Cezar Moisés
4448b28491
Update api.php
Error Handling: Check for cURL errors and handle them gracefully.
Array Creation: Used [] instead of array() and simplified array creation.
Null Coalescing Operator: Used ?? for safer access to possibly undefined properties.
Function Isolation: Split the cURL preparation and search logic into separate functions for clarity.
Consistent Naming: Renamed prepare_search_curl_obj to prepareSearchCurlObj for consistency in naming conventions.
2025-01-27 19:22:54 +00:00
Ahwx
97423e05dc feat(api.php): adds somewhat working API, needs more work 2023-12-18 10:56:26 +00:00
Ahwx
b20f3e9c0f works now, image proxy needs to be fixed tho 2023-02-16 13:10:46 +01:00
Ahwx
91ab6ff4d4 the worst code you've ever seen 2023-02-04 17:17:32 +01:00