Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation mismatch with Zoom documentation #15

Closed
QiUnknown opened this issue Mar 2, 2020 · 2 comments
Closed

Documentation mismatch with Zoom documentation #15

QiUnknown opened this issue Mar 2, 2020 · 2 comments

Comments

@QiUnknown
Copy link

From the readme, regarding the creation of meetings:

$meeting = $user->meetings()->create([
    	'type' => '2',
    	'start_time' => '2019-06-29T20:00:00Z'
]);

This code, when I was running in a command, will get a 405 from zoom server. I read through the Zoom docs, and without the trailing 'Z', it would go through without issue. Please update the doc at your leisure. Thanks for the great library.

@janpaulalmanoche
Copy link

the same with me.im having a 400 status code

$user = $zoom->user->create([
'name' => 'Test Name',
'first_name' => 'First Name',
'last_name' => 'Last Name',
'email' => 'test@test.com',
'password' => 'secret',
'type' => 1
]);
$meeting = $user->meetings()->create([
'type' => '2',
'start_time' => '2019-06-29T20:00:00Z'
]);
$registrant = $meeting->registrants()->create([
'email' => 'registratn@domain.com',
'first_name' => 'Test',
'last_name' => 'Registrant'
]);

@colinhall17
Copy link
Member

Hi

Apologies in the delay in coming back to you, when I created this package it was a quick build for a project I needed it for and I made it open source in case it would help someone.

With the increased use of Zoom around the world its gaining some traction, so I've built 3 new versions for Laravel 5.5 upwards, make sure you select the correct version for your version of Laravel.

The new version uses Laravel date casting so on creation pass in a Carbon Instance and the API should handle the rest.

Open a new issue with any problems.

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

No branches or pull requests

3 participants