nextpyp.client.gen.Services#

class nextpyp.client.gen.Services#

Bases: object

This class houses all of the different regular services that can be accessed by the NextPYP client, with each service exposed as a class attribute.

Each regular service contains a group of functions that work in your app just like regular functions, except the function is executed on the NextPYP website instead of in your app. Calling a service function will cause your app to send a request to the NextPYP website and then wait until the response arrives.

Regular services are different from realtime services. To learn more about realtime services, see RealtimeServices.

Examples

Call the list functon of the projects service:

projects = client.services.projects.list('user_id')

Methods

__init__

Attributes

apps

The Apps service.

projects

The Projects service.

sessions

The Sessions service.

single_particle_sessions

The SingleParticleSessions service.

tomography_sessions

The TomographySessions service.

Details

__init__(client)#
Parameters:

client (Client) –

Return type:

None

apps: AppsService#

The Apps service. See: AppsService

projects: ProjectsService#

The Projects service. See: ProjectsService

sessions: SessionsService#

The Sessions service. See: SessionsService

single_particle_sessions: SingleParticleSessionsService#

The SingleParticleSessions service. See: SingleParticleSessionsService

tomography_sessions: TomographySessionsService#

The TomographySessions service. See: TomographySessionsService