|
1 | 1 |
|
2 |
| -# Microsoft Graph API |
| 2 | +# Microsoft Graph |
3 | 3 |
|
4 | 4 | A Laravel package for working with Microsoft Graph API.
|
5 | 5 |
|
@@ -220,68 +220,7 @@ MsGraph::get('me/messages')
|
220 | 220 |
|
221 | 221 | To make things a little easier there is also trait classes provided:
|
222 | 222 |
|
223 |
| -Each Trait class provides convenient methods that call the end points processes the data and returns json of the results. |
224 | 223 |
|
225 |
| -### Traits |
226 |
| - |
227 |
| -These can be called directly for instance to list emails, optionally these params can be provided: |
228 |
| - |
229 |
| -$top = 25 - sets number of records |
230 |
| -$skip = 0 - sets how many records to skip |
231 |
| -$param = [] - send array of options such as orderby, top, skip, count |
232 |
| - |
233 |
| -```php |
234 |
| -MsGraph::getEmails(); |
235 |
| -``` |
236 |
| - |
237 |
| -Calendars |
238 |
| -* getCalendars($top = 25, $skip = 0, $params = []) |
239 |
| -* createCalendar($data) |
240 |
| -* getCalendar($calendarId) |
241 |
| -* updateCalendar($calendarId, $data) |
242 |
| -* deleteCalendar($calendarId, $data) |
243 |
| - |
244 |
| -Calendar Events |
245 |
| -* getCalendarEvents($top = 25, $skip = 0, $params = []) |
246 |
| -* getEvent($eventId) |
247 |
| -* createEvent($data) |
248 |
| -* updateCalendarEvent($calendarId, $eventId, $data) |
249 |
| -* deleteCalendarEvent($calendarId, $eventId) |
250 |
| - |
251 |
| -Contacts |
252 |
| -* getContacts($top = 25, $skip = 0, $params = []) |
253 |
| -* createContact($data) |
254 |
| -* getContact($contactId) |
255 |
| -* updateContact($contactId, $data) |
256 |
| -* deleteContact($contactId, $data) |
257 |
| - |
258 |
| -Emails |
259 |
| -* getEmails($top = 25, $skip = 0, $folderId = null) |
260 |
| -* getEmailAttachments($email\_id) |
261 |
| -* getEmailInlineAttachments($email) |
262 |
| -* sendEmail($subject, $message, $to, $cc, $bcc, $attachments = null) |
263 |
| -* sendEmailReply($id, $message, $to, $cc, $bcc, $attachments = null) |
264 |
| -* forwardEmail($id, $message, $to, $cc, $bcc, $attachments = null) |
265 |
| - |
266 |
| -Events |
267 |
| -* getEvents($top = 25, $skip = 0, $params = []) |
268 |
| -* getCalendarEvent($calendarId, $eventId) |
269 |
| -* createCalendarEvent($data) |
270 |
| -* updateEvent($eventId, $data) |
271 |
| -* deleteEvent($calendarId, $eventId) |
272 |
| - |
273 |
| -OneDrive |
274 |
| -* getDrives() |
275 |
| -* downloadFile($fileId) |
276 |
| -* deleteFile($fileId) |
277 |
| - |
278 |
| -ToDo's |
279 |
| -* getTasks($top = 25, $skip = 0, $params = []) |
280 |
| -* getTaskFolders() |
281 |
| -* createTask($data) |
282 |
| -* getTask($taskId) |
283 |
| -* updateTask($taskId, $data) |
284 |
| -* deleteTask($taskId, $data) |
285 | 224 |
|
286 | 225 | ### Middleware
|
287 | 226 |
|
@@ -402,6 +341,6 @@ license. Please see the [license file][6] for more information.
|
402 | 341 |
|
403 | 342 | [2]: https://aad.portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview
|
404 | 343 | [3]: changelog.md
|
405 |
| -[4]: https://github.com/daveismyname/laravel-msgrapth |
| 344 | +[4]: https://github.com/daveismyname/laravel-microsoft-graph |
406 | 345 | [5]: http://semver.org/
|
407 | 346 | [6]: license.md
|
0 commit comments