Merge pull request #56 from hasaneyldrm/readme-fix-merged

Fix TypeScript interface and Python example in README (rebased)
This commit is contained in:
Hasan Emir Yıldırım
2026-07-16 09:50:40 +03:00
committed by GitHub
+17 -3
View File
@@ -335,6 +335,8 @@ print(ex["instructions"]["tr"]) # Turkish
print(ex["instructions"]["ru"]) # Russian
print(ex["instructions"]["zh"]) # Chinese
print(ex["instructions"]["hi"]) # Hindi
print(ex["instructions"]["pl"]) # Polish
print(ex["instructions"]["ko"]) # Korean
print(ex["instructions"]["fr"]) # French
```
@@ -411,12 +413,24 @@ interface Exercise {
ko: string;
fr: string;
};
instruction_steps: {
en: string[];
es: string[];
it: string[];
tr: string[];
ru: string[];
zh: string[];
hi: string[];
pl: string[];
ko: string[];
fr: string[];
};
muscle_group: string;
secondary_muscles: string[];
target: string;
media_id: string | null;
image: string | null;
gif_url: string | null;
media_id: string;
image: string;
gif_url: string;
attribution: string;
created_at: string;
}