<commit_before># Instructions for Interacting with the Auth Api

## Before You Begin

1. Follow all the instructions in [Readme.md](http://github.com/wordjelly/auth/README.md) to set up the engine in your app.
2. Download the POSTMAN chrome extension.
3. Import into the extension the JSON_API_METHODS_DUMP


## Table of Contents:

[Get A App Id, and Api Key](#App_Id_And_Api_Key)  
[Emphasis](#emphasis)  


    
<a name="App_Id_And_Api_Key"/>
## Get A App Id, and Api Key<commit_msg>updated readme backtics<commit_after># Instructions for Interacting with the Auth Api

## Before You Begin

1. Follow all the instructions in [Readme.md](http://github.com/wordjelly/auth/README.md) to set up the engine in your app.
2. Download the POSTMAN chrome extension.
3. Import into the extension the JSON_API_METHODS_DUMP


## Table of Contents:

[Get An App Id and Api Key](#App_Id_And_Api_Key)  
[Emphasis](#emphasis)  


    
<a name="App_Id_And_Api_Key"/>

### Get An App Id and Api Key

The first step to use the JSON API is to get an app_id and an api_key.
You need to store these in your app, and distribute them with every copy of the app.

1.Create A  New Verified User for Yourself using steps (2) or (3) or (10) or (11), through the web application. Do the following steps using a CURL client.

2.Get the User's id using request “get a user's id by giving his token auth credentials”

3.Now make the request “Get a client given the user id”

4.Now make the request “Update the client so that it generates a app_id, doesnt use provided one”

5.Store the “current_app_id” and the “api_key”, securely in the mobile app. Use encryption or  obfuscation. Do not leave these lying around anywhere. 


{'fraction_non_alphanumeric': 0.07606132075471699, 'fraction_numerical': 0.010023584905660377, 'mean_word_length': 4.050595238095238, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4467143', 'n_tokens_mistral': 549, 'n_tokens_neox': 520, 'n_words': 246}