# How can i use external libraries? (com.google.xyz)

**URL:** https://discourse.processing.org/t/how-can-i-use-external-libraries-com-google-xyz/26404
**Category:** Libraries
**Created:** [December 20, 2020, 4:45pm UTC](https://discourse.processing.org/t/how-can-i-use-external-libraries-com-google-xyz/26404 "2020-12-20T16:45:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![EinsMalteHH](https://avatars.discourse-cdn.com/v4/letter/e/ecd19e/32.png) [@EinsMalteHH](https://discourse.processing.org/u/EinsMalteHH)
#### Post date: [December 20, 2020, 4:45pm UTC](https://discourse.processing.org/t/how-can-i-use-external-libraries-com-google-xyz/26404/1 "2020-12-20T16:45:58Z")

</div>

How can i use external libraries?

> import com.google.api.client.auth.oauth2.Credential;  
> import com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp;  
> import com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver;  
> import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow;  
> import com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets;  
> import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;  
> import com.google.api.client.http.javanet.NetHttpTransport;  
> import com.google.api.client.json.JsonFactory;  
> import com.google.api.client.json.jackson2.JacksonFactory;  
> import com.google.api.client.util.DateTime;  
> import com.google.api.client.util.store.FileDataStoreFactory;  
> import com.google.api.services.calendar.Calendar;  
> import com.google.api.services.calendar.CalendarScopes;  
> import com.google.api.services.calendar.model.Event;  
> import com.google.api.services.calendar.model.Events;

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [December 20, 2020, 9:11pm UTC](https://discourse.processing.org/t/how-can-i-use-external-libraries-com-google-xyz/26404/2 "2020-12-20T21:11:49Z")

</div>

You need to place all libraries in the processing libraries folder, the folder must have the same name as the library so the library must only contain characters that a folder name can handle.
