Soporte de The Movie Database

Hi, I'm writing an application which I plan to open source. What can I do to not expose my api key?

2 respuestas (en la página 1 de 1)

Jump to last post

Usually it is not required to use your own API key while publishing your code. Make sure you have explained it in documents how other developers can acquire their own APIs. And that should do it. But if you want to include it anyway you can give this article a read - https://code.tutsplus.com/tutorials/protecting-your-keys-from-github--cms-23002

Ya, this comes down to how you want to publish your project. I'll add that since we don't charge for the API, it's not usually a big deal to get people to register their own but if you make the choice to include yours, the main issue you might run into is that someone could take it an abuse it. In that case we block it and you would need to get a new one, but everyone who is using your project would also need to do that (whether it's an update you publish or otherwise).

Your call on the matter but that kind of explains both ways to think about it.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión