Skip to content

Conversation

@Pukabyte
Copy link
Contributor

No description provided.

Copy link
Owner

@westsurname westsurname left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Early review. Some ideas of areas of improvement

# API routes must come before the catch-all route
@app.get("/api/tmdb/{media_type}/{tmdb_id}/images")
async def get_tmdb_images(media_type: str, tmdb_id: int):
api_key = os.getenv('TMDB_API_KEY')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a system for getting and using environment variables in the code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn’t see or know about that

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

Successfully merging this pull request may close these issues.

2 participants