google-client-api

WebJar for google-client-api

License

License

MIT
Categories

Categories

CLI User Interface
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

google-client-api
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

google-client-api
WebJar for google-client-api
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/Jam3/google-client-api

Download google-client-api

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/google-client-api/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>google-client-api</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/google-client-api/
implementation 'org.webjars.npm:google-client-api:1.0.4'
// https://jarcasting.com/artifacts/org.webjars.npm/google-client-api/
implementation ("org.webjars.npm:google-client-api:1.0.4")
'org.webjars.npm:google-client-api:jar:1.0.4'
<dependency org="org.webjars.npm" name="google-client-api" rev="1.0.4">
  <artifact name="google-client-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='google-client-api', version='1.0.4')
)
libraryDependencies += "org.webjars.npm" % "google-client-api" % "1.0.4"
[org.webjars.npm/google-client-api "1.0.4"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : promise jar [6.0.0,7)
org.webjars.npm » scriptjs jar [2.5.7,3)

Project Modules

There are no modules declared in this project.

#google-client-api ##module.exports(onComplete) This module is a function which will return a Google Client API object assynchronously.

This function returns a promise. (if you're into promises) Which will return the gapi Object.

If you're not into promises then you can simply call this function and pass in a callback object.

Params

  • onComplete function - an optional callback which will return the Google Client API Object.

Returns: Promise - This function also returns a promise if you're into promises which will return the Google Client API Object.
##Example Using with Promise:

require( 'google-client-api' )().then( function( gapi ) {
	// Do something with the gapi object
});

Using with callback:

require( 'google-client-api' )( function( gapi ) {
	// Do something with the gapi object
});
org.webjars.npm

Jam3

We create modern experiences for tomorrow’s brands

Versions

Version
1.0.4