Hello
I’ve been reading the documentation to try an upload a gh file using the platform and geometry sdk’s, but i’ve been unsucesseful.
import { create as createPlatform } from '@shapediver/sdk.platform-api-sdk-v1';
import { create as createGeometry, ShapeDiverRequestModel} from "@shapediver/sdk.geometry-api-sdk-v2"
const client = createPlatform({ clientId: "xxxxxx", baseUrl: "https://app.shapediver.com" });
let res1 = await client.authorization.passwordGrant("yyyyyyy", "mmmmmm");
Could someone please provide an example that I could use to upload a gh file to shapediver platform?
Thanks,
Lenny