Postman has a cool feature for generating code snippets into a variety of programming languages and frameworks. This is especially helpful in situations where you need to quickly transform a cURL code snippet to another language.
Another wild approach is using GPT-3. Get an api key at beta.openai.com, tell the βcompletionβ endpoint in natural language: βconvert the following curl request into python: (insert curl request here)β and the AI will do it. Works with a lot of languages.