edropin_accountsapi 1.0.2

  • README.md
  • Installing
  • Versions
  • new44

edropin_accountsapi

Accounts service for eDropin

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.10
  • Build package: org.openapitools.codegen.languages.DartClientCodegen

Requirements

Dart 1.20.0 or later OR Flutter 0.0.20 or later

Installation & Usage

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

name: edropin_accountsapi
version: 1.0.0
description: OpenAPI API client
dependencies:
  edropin_accountsapi:
    git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      version: 'any'

Local

To use the package in your local drive, please include the following in pubspec.yaml

dependencies:
  edropin_accountsapi:
    path: /path/to/edropin_accountsapi

Tests

TODO

Getting Started

Please follow the installation procedure and then run the following:

import 'package:edropin_accountsapi/api.dart';

// TODO Configure API key authorization: ClientKey
//edropin_accountsapi.api.Configuration.apiKey{'X-Client-Key'} = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//edropin_accountsapi.api.Configuration.apiKeyPrefix{'X-Client-Key'} = "Bearer";

var api_instance = new EaAccountsApi();
var eaPasswordAuthentication = new EaPasswordAuthentication(); // EaPasswordAuthentication | Authentication values

try {
    var result = api_instance.authenticatePassword(eaPasswordAuthentication);
    print(result);
} catch (e) {
    print("Exception when calling EaAccountsApi->authenticatePassword: $e\n");
}

Documentation for API Endpoints

All URIs are relative to https://edropin-test.appspot.com

ClassMethodHTTP requestDescription
EaAccountsApiauthenticatePasswordPOST /accounts/authenticate/passwordAuthenticate using email/password
EaAccountsApigetAccountGET /accountsGet Account
EaAccountsApigetMultipleAccountsGET /accounts/get-multiGet multiple accounts [service only]
EaAccountsApiupdateAccountPUT /accountsCreate/update existing account
EaAccountsApiupdateAccountClaimsPUT /accounts/{accountId}/claimsUpdate account claims
EaPermissionsApiacceptPermissionInvitePOST /permissions/accept-invite/{inviteToken}Accept a permission invite
EaPermissionsApihasPermissionGET /permissions/{entityType}/{entityId}/accounts/{accountId}Check account has permission
EaPermissionsApipaginatePermissionsGET /permissions/{entityType}/{entityId}/accountsGet permissions for entity
EaPermissionsApiremovePermissionsForAccountDELETE /permissions/{entityType}/{entityId}/accounts/{accountId}Remove all permissions for account
EaPermissionsApisendPermissionInvitePOST /permissions/{entityType}/{entityId}/send-inviteSend a permission invite
EaPermissionsApisetPermissionPUT /permissions/{entityType}/{entityId}/accounts/{accountId}Set account permission
EaProfileInvitesApiarchiveProfileInviteDELETE /profile-invites/{inviteId}Archive a profile invitation
EaProfileInvitesApicreateProfileFromInvitePOST /profile-invites/referral/{referralCode}Create a profile from a profile invite
EaProfileInvitesApicreateProfileInvitePOST /profile-invitesCreate a new profile invite
EaProfileInvitesApigetMultipleInvitesGET /profile-invites/get-multiGet Multiple Profile Invites
EaProfileInvitesApigetProfileInviteReferralGET /profile-invites/referral/{referralCode}Get the pre-filled fields for on-boarding an invite
EaProfileInvitesApilistProfileInvitesGET /profile-invitesPaginate over all invitations made by requested user
EaProfileTagsApilistTagRequestsGET /profiles/{profileId}/profile-tagsPaginate over all tag requests for the profile
EaProfileTagsApiremoveProfileTagRequestDELETE /profile-tags/{profileTagId}Remove a profile tag request
EaProfileTagsApirespondToProfileTagRequestPUT /profile-tags/{profileTagId}Accept or decline a profile tag request
EaProfileTagsApiupsertProfileTagRequestPOST /profiles/{profileId}/profile-tagsRequest to tag a profile in an entity e.g. Event, Course, etc.
EaProfilesApicheckAccountHasPermissionGET /profiles/{profileId}/permissions/{accountId}/checkCheck account has permission
EaProfilesApicheckUsernameAvailabilityGET /profiles/usernamecheckCheck username availability
EaProfilesApicreateProfilePOST /profilesCreate profile
EaProfilesApideleteProfileDELETE /profiles/{profileId}Delete an existing profile
EaProfilesApigetAccountPermissionForProfileGET /profiles/{profileId}/permissions/{accountId}Get permission for account
EaProfilesApigetAllProfilesGET /profilesGet Profiles
EaProfilesApigetMultipleProfilesGET /profiles/get-multiGet Multiple Profiles
EaProfilesApigetProfileGET /profiles/{profileId}Get a profile from the directory
EaProfilesApigetProfileCategoriesGET /profiles/categoriesGet Profile Categories
EaProfilesApigetProfilePermissionGET /profiles/{profileId}/all-permissionsList all profile permissions
EaProfilesApipaginateProfileFeedGET /profiles/{profileId}/feedProfile Feed
EaProfilesApisearchProfileGET /profiles/searchSearch Profiles
EaProfilesApisendProfileEmailVerificationPOST /profiles/{profileId}/email-verificationSend email verification
EaProfilesApisetProfilePermissionPUT /profiles/{profileId}/permissions/{accountId}Set permission for profile
EaProfilesApisetStatusPUT /profiles/{profileId}/statusSet a profile status
EaProfilesApiupdateProfilePUT /profiles/{profileId}Update an existing profile
EaProfilesApiverifyProfileEmailPOST /profiles/email-verification/{code}Verifiy profile email
EaUtilitiesApicheckPhoneVerificationPOST /utility/phoneverification/checkCheck phone verification
EaUtilitiesApistartPhoneVerificationPOST /utility/phoneverification/startVerify a phone number

Documentation For Models

Documentation For Authorization

AdminKey

  • Type: API key
  • API key parameter name: X-Admin-Key
  • Location: HTTP header

Authorization

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

AuthorizationOptional

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

ClientKey

  • Type: API key
  • API key parameter name: X-Client-Key
  • Location: HTTP header

ServiceKey

  • Type: API key
  • API key parameter name: X-Service-Key
  • Location: HTTP header

Author

dev@edropin.com

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  edropin_accountsapi: ^1.0.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:edropin_accountsapi/api.dart';
import 'package:edropin_accountsapi/api/ea_accounts_api.dart';
import 'package:edropin_accountsapi/api/ea_permissions_api.dart';
import 'package:edropin_accountsapi/api/ea_profile_invites_api.dart';
import 'package:edropin_accountsapi/api/ea_profile_tags_api.dart';
import 'package:edropin_accountsapi/api/ea_profiles_api.dart';
import 'package:edropin_accountsapi/api/ea_utilities_api.dart';
import 'package:edropin_accountsapi/api_client.dart';
import 'package:edropin_accountsapi/api_exception.dart';
import 'package:edropin_accountsapi/api_helper.dart';
import 'package:edropin_accountsapi/auth/api_key_auth.dart';
import 'package:edropin_accountsapi/auth/authentication.dart';
import 'package:edropin_accountsapi/auth/http_basic_auth.dart';
import 'package:edropin_accountsapi/auth/oauth.dart';
import 'package:edropin_accountsapi/model/default_error.dart';
import 'package:edropin_accountsapi/model/ea_account.dart';
import 'package:edropin_accountsapi/model/ea_account_update.dart';
import 'package:edropin_accountsapi/model/ea_address.dart';
import 'package:edropin_accountsapi/model/ea_authentication.dart';
import 'package:edropin_accountsapi/model/ea_base_id.dart';
import 'package:edropin_accountsapi/model/ea_claims.dart';
import 'package:edropin_accountsapi/model/ea_email_verification.dart';
import 'package:edropin_accountsapi/model/ea_facet_search.dart';
import 'package:edropin_accountsapi/model/ea_facet_search_facet_hits.dart';
import 'package:edropin_accountsapi/model/ea_feed_item.dart';
import 'package:edropin_accountsapi/model/ea_geoloc.dart';
import 'package:edropin_accountsapi/model/ea_paged_account.dart';
import 'package:edropin_accountsapi/model/ea_paged_feed_item.dart';
import 'package:edropin_accountsapi/model/ea_paged_permission.dart';
import 'package:edropin_accountsapi/model/ea_paged_permission_invite.dart';
import 'package:edropin_accountsapi/model/ea_paged_profile.dart';
import 'package:edropin_accountsapi/model/ea_paged_profile_invite.dart';
import 'package:edropin_accountsapi/model/ea_paged_tag_request.dart';
import 'package:edropin_accountsapi/model/ea_pagination.dart';
import 'package:edropin_accountsapi/model/ea_password_authentication.dart';
import 'package:edropin_accountsapi/model/ea_permission.dart';
import 'package:edropin_accountsapi/model/ea_permission_accept.dart';
import 'package:edropin_accountsapi/model/ea_permission_check.dart';
import 'package:edropin_accountsapi/model/ea_permission_input.dart';
import 'package:edropin_accountsapi/model/ea_permission_invite.dart';
import 'package:edropin_accountsapi/model/ea_permission_invite_create.dart';
import 'package:edropin_accountsapi/model/ea_phone_verification.dart';
import 'package:edropin_accountsapi/model/ea_phone_verification_check.dart';
import 'package:edropin_accountsapi/model/ea_phone_verification_input.dart';
import 'package:edropin_accountsapi/model/ea_profile.dart';
import 'package:edropin_accountsapi/model/ea_profile_base.dart';
import 'package:edropin_accountsapi/model/ea_profile_invite.dart';
import 'package:edropin_accountsapi/model/ea_profile_invite_create.dart';
import 'package:edropin_accountsapi/model/ea_profile_status.dart';
import 'package:edropin_accountsapi/model/ea_profile_update.dart';
import 'package:edropin_accountsapi/model/ea_success.dart';
import 'package:edropin_accountsapi/model/ea_tag_request.dart';
import 'package:edropin_accountsapi/model/ea_tag_request_create.dart';
import 'package:edropin_accountsapi/model/ea_tag_respond.dart';
  
Version Uploaded Documentation Archive
1.0.2 Dec 20, 2018 Go to the documentation of edropin_accountsapi 1.0.2 Download edropin_accountsapi 1.0.2 archive
1.0.1 Dec 20, 2018 Go to the documentation of edropin_accountsapi 1.0.1 Download edropin_accountsapi 1.0.1 archive
1.0.0 Dec 20, 2018 Go to the documentation of edropin_accountsapi 1.0.0 Download edropin_accountsapi 1.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
8
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
44
Learn more about scoring.

We analyzed this package on Jan 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.10

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Health suggestions

Format lib/api.dart.

Run dartfmt to format lib/api.dart.

Format lib/api/ea_accounts_api.dart.

Run dartfmt to format lib/api/ea_accounts_api.dart.

Format lib/api/ea_permissions_api.dart.

Run dartfmt to format lib/api/ea_permissions_api.dart.

Fix additional 51 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/api/ea_profile_invites_api.dart (Run dartfmt to format lib/api/ea_profile_invites_api.dart.)
  • lib/api/ea_profile_tags_api.dart (Run dartfmt to format lib/api/ea_profile_tags_api.dart.)
  • lib/api/ea_profiles_api.dart (Run dartfmt to format lib/api/ea_profiles_api.dart.)
  • lib/api/ea_utilities_api.dart (Run dartfmt to format lib/api/ea_utilities_api.dart.)
  • lib/api_client.dart (Run dartfmt to format lib/api_client.dart.)
  • lib/api_exception.dart (Run dartfmt to format lib/api_exception.dart.)
  • lib/api_helper.dart (Run dartfmt to format lib/api_helper.dart.)
  • lib/auth/api_key_auth.dart (Run dartfmt to format lib/auth/api_key_auth.dart.)
  • lib/auth/authentication.dart (Run dartfmt to format lib/auth/authentication.dart.)
  • lib/auth/http_basic_auth.dart (Run dartfmt to format lib/auth/http_basic_auth.dart.)
  • lib/auth/oauth.dart (Run dartfmt to format lib/auth/oauth.dart.)
  • lib/model/default_error.dart (Run dartfmt to format lib/model/default_error.dart.)
  • lib/model/ea_account.dart (Run dartfmt to format lib/model/ea_account.dart.)
  • lib/model/ea_account_update.dart (Run dartfmt to format lib/model/ea_account_update.dart.)
  • lib/model/ea_address.dart (Run dartfmt to format lib/model/ea_address.dart.)
  • lib/model/ea_authentication.dart (Run dartfmt to format lib/model/ea_authentication.dart.)
  • lib/model/ea_base_id.dart (Run dartfmt to format lib/model/ea_base_id.dart.)
  • lib/model/ea_claims.dart (Run dartfmt to format lib/model/ea_claims.dart.)
  • lib/model/ea_email_verification.dart (Run dartfmt to format lib/model/ea_email_verification.dart.)
  • lib/model/ea_facet_search.dart (Run dartfmt to format lib/model/ea_facet_search.dart.)
  • lib/model/ea_facet_search_facet_hits.dart (Run dartfmt to format lib/model/ea_facet_search_facet_hits.dart.)
  • lib/model/ea_feed_item.dart (Run dartfmt to format lib/model/ea_feed_item.dart.)
  • lib/model/ea_geoloc.dart (Run dartfmt to format lib/model/ea_geoloc.dart.)
  • lib/model/ea_paged_account.dart (Run dartfmt to format lib/model/ea_paged_account.dart.)
  • lib/model/ea_paged_feed_item.dart (Run dartfmt to format lib/model/ea_paged_feed_item.dart.)
  • lib/model/ea_paged_permission.dart (Run dartfmt to format lib/model/ea_paged_permission.dart.)
  • lib/model/ea_paged_permission_invite.dart (Run dartfmt to format lib/model/ea_paged_permission_invite.dart.)
  • lib/model/ea_paged_profile.dart (Run dartfmt to format lib/model/ea_paged_profile.dart.)
  • lib/model/ea_paged_profile_invite.dart (Run dartfmt to format lib/model/ea_paged_profile_invite.dart.)
  • lib/model/ea_paged_tag_request.dart (Run dartfmt to format lib/model/ea_paged_tag_request.dart.)
  • lib/model/ea_pagination.dart (Run dartfmt to format lib/model/ea_pagination.dart.)
  • lib/model/ea_password_authentication.dart (Run dartfmt to format lib/model/ea_password_authentication.dart.)
  • lib/model/ea_permission.dart (Run dartfmt to format lib/model/ea_permission.dart.)
  • lib/model/ea_permission_accept.dart (Run dartfmt to format lib/model/ea_permission_accept.dart.)
  • lib/model/ea_permission_check.dart (Run dartfmt to format lib/model/ea_permission_check.dart.)
  • lib/model/ea_permission_input.dart (Run dartfmt to format lib/model/ea_permission_input.dart.)
  • lib/model/ea_permission_invite.dart (Run dartfmt to format lib/model/ea_permission_invite.dart.)
  • lib/model/ea_permission_invite_create.dart (Run dartfmt to format lib/model/ea_permission_invite_create.dart.)
  • lib/model/ea_phone_verification.dart (Run dartfmt to format lib/model/ea_phone_verification.dart.)
  • lib/model/ea_phone_verification_check.dart (Run dartfmt to format lib/model/ea_phone_verification_check.dart.)
  • lib/model/ea_phone_verification_input.dart (Run dartfmt to format lib/model/ea_phone_verification_input.dart.)
  • lib/model/ea_profile.dart (Run dartfmt to format lib/model/ea_profile.dart.)
  • lib/model/ea_profile_base.dart (Run dartfmt to format lib/model/ea_profile_base.dart.)
  • lib/model/ea_profile_invite.dart (Run dartfmt to format lib/model/ea_profile_invite.dart.)
  • lib/model/ea_profile_invite_create.dart (Run dartfmt to format lib/model/ea_profile_invite_create.dart.)
  • lib/model/ea_profile_status.dart (Run dartfmt to format lib/model/ea_profile_status.dart.)
  • lib/model/ea_profile_update.dart (Run dartfmt to format lib/model/ea_profile_update.dart.)
  • lib/model/ea_success.dart (Run dartfmt to format lib/model/ea_success.dart.)
  • lib/model/ea_tag_request.dart (Run dartfmt to format lib/model/ea_tag_request.dart.)
  • lib/model/ea_tag_request_create.dart (Run dartfmt to format lib/model/ea_tag_request_create.dart.)
  • lib/model/ea_tag_respond.dart (Run dartfmt to format lib/model/ea_tag_respond.dart.)

Maintenance issues and suggestions

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use edropin_accountsapi.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
http >=0.11.1 <0.12.0 0.11.3+17 0.12.0+1
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
http_parser 3.1.3
meta 1.1.7
path 1.6.2
source_span 1.5.1
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6