Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔔 The svgl API might be unavailable. #319

Closed
pheralb opened this issue Apr 26, 2024 · 3 comments
Closed

🔔 The svgl API might be unavailable. #319

pheralb opened this issue Apr 26, 2024 · 3 comments

Comments

@pheralb
Copy link
Owner

pheralb commented Apr 26, 2024

Hi 👋,

Due to a recent DDoS attack, we've implemented protective measures, which might affect access to the API for some applications. However, our web app remains fully functional for everyone.

We expect to resolve the issue and restore normal API access within a few days.

We apologize for any inconvenience this may cause.

Best regards,
Pablo.

@pheralb pheralb pinned this issue Apr 26, 2024
@ridemountainpig
Copy link
Contributor

Hi @pheralb,

I have been using the SVGL API for my SVGL badge project. When retrieving SVGL data using the API on a GitHub Action, I'm encountering a 403 Client Error: Forbidden error for the URL "https://svgl.app/api/svgs". However, the API call is successful when running it locally. Is there an IP restriction in place for the SVGL API?

@pheralb
Copy link
Owner Author

pheralb commented May 4, 2024

Hi @ridemountainpig,

The SVGL api, for security reasons, has a restriction and limit of request per minute.

I just accessed your project and at the moment the api returns the data, but I see that you are rendering the 400 logos directly. You can optimize it by adding a filter to show the last 15 logos:

/api/svgs?limit=15

Thanks 🚀

@ridemountainpig
Copy link
Contributor

ridemountainpig commented May 4, 2024

Hi @ridemountainpig,

The SVGL api, for security reasons, has a restriction and limit of request per minute.

I just accessed your project and at the moment the api returns the data, but I see that you are rendering the 400 logos directly. You can optimize it by adding a filter to show the last 15 logos:

/api/svgs?limit=15

Thanks 🚀

Thank you for your reply. In the Svgl badge project, I have saved all the SVG files to my repository, so the logos are not directly retrieved from the Svgl API. I'm using the https://svgl.app/api/svgs API to get all the logo data, and I'm downloading it from the GitHub raw file to my project using a GitHub action. However, I'm now unable to access https://svgl.app/api/svgs with the GitHub action, so I'm trying to resolve this issue.

@pheralb pheralb closed this as completed May 7, 2024
@pheralb pheralb reopened this May 10, 2024
@pheralb pheralb closed this as completed May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants