code: def create(self, user_id, media_id, item_type, token, data):
          
          final_dict = {
              "data": {
                  "type": "libraryEntries",
                  "attributes": data,
                  "relationships":{
                      "user":{
                          "data":{
                              "id": user_id,
                              "type": "users"
                          }
                      },
                      "media":{
                          "data":{
                              "id": media_id,
                              "type": item_type
                          }
                      }
                  }
              }
          }
          final_headers = self.header
          final_headers['Authorization'] = "Bearer {}".format(token)
  
          r = requests.post(self.apiurl + "/library-entries", json=final_dict, headers=final_headers)
  
          if r.status_code != 201:
              raise ConnectionError(r.text)
  
          jsd = r.json()
  
          return jsd['data']['id']
docs: Create a library entry for a user. data should be just the attributes.
          Data at least needs a status and progress.
  
          :param user_id str: User ID that this Library Entry is for
          :param media_id str: ID for the media this entry relates to
          :param item_type str: anime, drama or manga depending
          :param token str: OAuth token for user
          :param data dict: Dictionary of attributes for the entry
          :return: New Entry ID or ServerError
          :rtype: Str or Exception