wrote bru requests for posting data
This commit is contained in:
		
							
								
								
									
										105
									
								
								bruno/AniTrack/Get Items/AniList Item.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										105
									
								
								bruno/AniTrack/Get Items/AniList Item.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,105 @@
 | 
			
		||||
meta {
 | 
			
		||||
  name: AniList Item
 | 
			
		||||
  type: graphql
 | 
			
		||||
  seq: 1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
post {
 | 
			
		||||
  url: https://graphql.anilist.co
 | 
			
		||||
  body: graphql
 | 
			
		||||
  auth: none
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
headers {
 | 
			
		||||
  Content-Type: "application/json"
 | 
			
		||||
  Accept: "application/json"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body:graphql {
 | 
			
		||||
  query($userId: Int, $mediaId: Int, $listType: MediaType) {
 | 
			
		||||
  			  MediaList(mediaId: $mediaId, userId: $userId, type: $listType) {
 | 
			
		||||
  				id
 | 
			
		||||
  				mediaId
 | 
			
		||||
  				userId
 | 
			
		||||
  				media {
 | 
			
		||||
  				  id
 | 
			
		||||
  				  idMal
 | 
			
		||||
  				  title {
 | 
			
		||||
  					romaji
 | 
			
		||||
  					english
 | 
			
		||||
  					native
 | 
			
		||||
  				  }
 | 
			
		||||
  				  description
 | 
			
		||||
  				  coverImage {
 | 
			
		||||
  					large
 | 
			
		||||
  				  }
 | 
			
		||||
  				  season
 | 
			
		||||
  				  seasonYear
 | 
			
		||||
  				  status
 | 
			
		||||
  				  episodes
 | 
			
		||||
  				  nextAiringEpisode {
 | 
			
		||||
  					airingAt
 | 
			
		||||
  					timeUntilAiring
 | 
			
		||||
  					episode
 | 
			
		||||
  				  }
 | 
			
		||||
  				}
 | 
			
		||||
  				status
 | 
			
		||||
  				startedAt{
 | 
			
		||||
  				  year
 | 
			
		||||
  				  month
 | 
			
		||||
  				  day
 | 
			
		||||
  				}
 | 
			
		||||
  				completedAt{
 | 
			
		||||
  				  year
 | 
			
		||||
  				  month
 | 
			
		||||
  				  day
 | 
			
		||||
  				}
 | 
			
		||||
  				notes
 | 
			
		||||
  				progress
 | 
			
		||||
  				score
 | 
			
		||||
  				repeat
 | 
			
		||||
  				user {
 | 
			
		||||
  				  id
 | 
			
		||||
  				  name
 | 
			
		||||
  				  avatar {
 | 
			
		||||
  					large
 | 
			
		||||
  					medium
 | 
			
		||||
  				  }
 | 
			
		||||
  				  statistics {
 | 
			
		||||
  					anime {
 | 
			
		||||
  					  count
 | 
			
		||||
  					  statuses {
 | 
			
		||||
  						status
 | 
			
		||||
  						count
 | 
			
		||||
  					  }
 | 
			
		||||
  					}
 | 
			
		||||
  				  }
 | 
			
		||||
  				}
 | 
			
		||||
  			  }
 | 
			
		||||
  			}
 | 
			
		||||
  
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body:graphql:vars {
 | 
			
		||||
  {
 | 
			
		||||
    "userId": 413504,
 | 
			
		||||
    "mediaId": 157371,
 | 
			
		||||
    "listType": "ANIME"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
docs {
 | 
			
		||||
  Title
 | 
			
		||||
  
 | 
			
		||||
  Image
 | 
			
		||||
  
 | 
			
		||||
  Description
 | 
			
		||||
  
 | 
			
		||||
  Episodes
 | 
			
		||||
  
 | 
			
		||||
  Status
 | 
			
		||||
  
 | 
			
		||||
  Season
 | 
			
		||||
  
 | 
			
		||||
  External & Streaming Links
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										103
									
								
								bruno/AniTrack/Get Items/AniList MediaList User Query.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										103
									
								
								bruno/AniTrack/Get Items/AniList MediaList User Query.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,103 @@
 | 
			
		||||
meta {
 | 
			
		||||
  name: AniList MediaList User Query
 | 
			
		||||
  type: graphql
 | 
			
		||||
  seq: 4
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
post {
 | 
			
		||||
  url: https://graphql.anilist.co
 | 
			
		||||
  body: graphql
 | 
			
		||||
  auth: none
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
headers {
 | 
			
		||||
  Content-Type: "application/json"
 | 
			
		||||
  Accept: "application/json"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body:graphql {
 | 
			
		||||
  # Write your query or mutation here
 | 
			
		||||
  query(
 | 
			
		||||
    $page: Int
 | 
			
		||||
    $perPage: Int
 | 
			
		||||
    $userId: Int
 | 
			
		||||
    $listType: MediaType
 | 
			
		||||
    $status: MediaListStatus
 | 
			
		||||
  ) {
 | 
			
		||||
    Page(page: $page, perPage: $perPage) {
 | 
			
		||||
      pageInfo {
 | 
			
		||||
        total
 | 
			
		||||
        perPage
 | 
			
		||||
        currentPage
 | 
			
		||||
        lastPage
 | 
			
		||||
        hasNextPage
 | 
			
		||||
      }
 | 
			
		||||
      mediaList(userId: $userId, type: $listType, status: $status) {
 | 
			
		||||
        id
 | 
			
		||||
        mediaId
 | 
			
		||||
        userId
 | 
			
		||||
        media {
 | 
			
		||||
          id
 | 
			
		||||
          idMal
 | 
			
		||||
          title {
 | 
			
		||||
            romaji
 | 
			
		||||
            english
 | 
			
		||||
            native
 | 
			
		||||
          }
 | 
			
		||||
          description
 | 
			
		||||
          coverImage {
 | 
			
		||||
            large
 | 
			
		||||
          }
 | 
			
		||||
          season
 | 
			
		||||
          seasonYear
 | 
			
		||||
          episodes
 | 
			
		||||
        }
 | 
			
		||||
        status
 | 
			
		||||
        notes
 | 
			
		||||
        progress
 | 
			
		||||
        score
 | 
			
		||||
        repeat
 | 
			
		||||
        user {
 | 
			
		||||
          id
 | 
			
		||||
          statistics {
 | 
			
		||||
            anime {
 | 
			
		||||
              count
 | 
			
		||||
              statuses {
 | 
			
		||||
                status
 | 
			
		||||
                count
 | 
			
		||||
              }
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body:graphql:vars {
 | 
			
		||||
  {
 | 
			
		||||
    "page": 1,
 | 
			
		||||
    "perPage": 20,
 | 
			
		||||
    "userId": 413504,
 | 
			
		||||
    "listType": "ANIME",
 | 
			
		||||
    "status": "CURRENT"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
docs {
 | 
			
		||||
  Title
 | 
			
		||||
  Image
 | 
			
		||||
  Description
 | 
			
		||||
  Episodes
 | 
			
		||||
  Status
 | 
			
		||||
  Season
 | 
			
		||||
  External & Streaming Links
 | 
			
		||||
  
 | 
			
		||||
  User Stuff Per Item
 | 
			
		||||
  Status
 | 
			
		||||
  Score
 | 
			
		||||
  Episode Progress
 | 
			
		||||
  Total Rewatches
 | 
			
		||||
  Notes
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										75
									
								
								bruno/AniTrack/Get Items/AniList Search.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								bruno/AniTrack/Get Items/AniList Search.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,75 @@
 | 
			
		||||
meta {
 | 
			
		||||
  name: AniList Search
 | 
			
		||||
  type: graphql
 | 
			
		||||
  seq: 2
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
post {
 | 
			
		||||
  url: https://graphql.anilist.co
 | 
			
		||||
  body: graphql
 | 
			
		||||
  auth: none
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
headers {
 | 
			
		||||
  Content-Type: "application/json"
 | 
			
		||||
  Accept: "application/json"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body:graphql {
 | 
			
		||||
  query ($search: String!, $listType: MediaType) {
 | 
			
		||||
  				 Page (page: 1, perPage: 100) {
 | 
			
		||||
  					pageInfo {
 | 
			
		||||
  					  total
 | 
			
		||||
  					  currentPage
 | 
			
		||||
  					  lastPage
 | 
			
		||||
  					  hasNextPage
 | 
			
		||||
  					  perPage
 | 
			
		||||
  					}
 | 
			
		||||
  					media (search: $search, type: $listType) {
 | 
			
		||||
  						id						
 | 
			
		||||
  						idMal
 | 
			
		||||
  						title {
 | 
			
		||||
  						  romaji
 | 
			
		||||
  						  english
 | 
			
		||||
  						  native
 | 
			
		||||
  						}
 | 
			
		||||
  						description
 | 
			
		||||
  						coverImage {
 | 
			
		||||
  						  large
 | 
			
		||||
  						}
 | 
			
		||||
  						season
 | 
			
		||||
  						seasonYear
 | 
			
		||||
  						status
 | 
			
		||||
  						episodes
 | 
			
		||||
  						nextAiringEpisode{
 | 
			
		||||
  						  airingAt
 | 
			
		||||
  						  timeUntilAiring
 | 
			
		||||
  						  episode
 | 
			
		||||
  						}
 | 
			
		||||
  					}
 | 
			
		||||
  				}
 | 
			
		||||
  			}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body:graphql:vars {
 | 
			
		||||
  {
 | 
			
		||||
    "search": "frieren",
 | 
			
		||||
    "listType": "ANIME"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
docs {
 | 
			
		||||
  Title
 | 
			
		||||
  
 | 
			
		||||
  Image
 | 
			
		||||
  
 | 
			
		||||
  Description
 | 
			
		||||
  
 | 
			
		||||
  Episodes
 | 
			
		||||
  
 | 
			
		||||
  Status
 | 
			
		||||
  
 | 
			
		||||
  Season
 | 
			
		||||
  
 | 
			
		||||
  External & Streaming Links
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										125
									
								
								bruno/AniTrack/Get Items/GetAniListUserWatchingList.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								bruno/AniTrack/Get Items/GetAniListUserWatchingList.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,125 @@
 | 
			
		||||
meta {
 | 
			
		||||
  name: GetAniListUserWatchingList
 | 
			
		||||
  type: graphql
 | 
			
		||||
  seq: 3
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
post {
 | 
			
		||||
  url: https://graphql.anilist.co
 | 
			
		||||
  body: graphql
 | 
			
		||||
  auth: none
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
headers {
 | 
			
		||||
  Content-Type: "application/json"
 | 
			
		||||
  Accept: "application/json"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body:graphql {
 | 
			
		||||
  # Write your query or mutation here
 | 
			
		||||
  query (
 | 
			
		||||
    $page: Int
 | 
			
		||||
    $perPage: Int
 | 
			
		||||
    $userId: Int
 | 
			
		||||
    $listType: MediaType
 | 
			
		||||
    $status: MediaListStatus
 | 
			
		||||
    $sort: [MediaListSort]
 | 
			
		||||
  ) {
 | 
			
		||||
    Page(page: $page, perPage: $perPage) {
 | 
			
		||||
      pageInfo {
 | 
			
		||||
        total
 | 
			
		||||
        perPage
 | 
			
		||||
        currentPage
 | 
			
		||||
        lastPage
 | 
			
		||||
        hasNextPage
 | 
			
		||||
      }
 | 
			
		||||
      mediaList(userId: $userId, type: $listType, status: $status, sort: $sort) {
 | 
			
		||||
        id
 | 
			
		||||
        mediaId
 | 
			
		||||
        userId
 | 
			
		||||
        media {
 | 
			
		||||
          id
 | 
			
		||||
          idMal
 | 
			
		||||
          title {
 | 
			
		||||
            romaji
 | 
			
		||||
            english
 | 
			
		||||
            native
 | 
			
		||||
          }
 | 
			
		||||
          description
 | 
			
		||||
          coverImage {
 | 
			
		||||
            large
 | 
			
		||||
          }
 | 
			
		||||
          season
 | 
			
		||||
          seasonYear
 | 
			
		||||
          status
 | 
			
		||||
          episodes
 | 
			
		||||
          nextAiringEpisode {
 | 
			
		||||
            airingAt
 | 
			
		||||
            timeUntilAiring
 | 
			
		||||
            episode
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
        status
 | 
			
		||||
        startedAt {
 | 
			
		||||
          year
 | 
			
		||||
          month
 | 
			
		||||
          day
 | 
			
		||||
        }
 | 
			
		||||
        completedAt {
 | 
			
		||||
          year
 | 
			
		||||
          month
 | 
			
		||||
          day
 | 
			
		||||
        }
 | 
			
		||||
        notes
 | 
			
		||||
        progress
 | 
			
		||||
        score
 | 
			
		||||
        repeat
 | 
			
		||||
        user {
 | 
			
		||||
          id
 | 
			
		||||
          name
 | 
			
		||||
          avatar {
 | 
			
		||||
            large
 | 
			
		||||
            medium
 | 
			
		||||
          }
 | 
			
		||||
          statistics {
 | 
			
		||||
            anime {
 | 
			
		||||
              count
 | 
			
		||||
              statuses {
 | 
			
		||||
                status
 | 
			
		||||
                count
 | 
			
		||||
              }
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body:graphql:vars {
 | 
			
		||||
  {
 | 
			
		||||
    "page": 1,
 | 
			
		||||
    "perPage": 20,
 | 
			
		||||
    "userId": 413504,
 | 
			
		||||
    "listType": "ANIME",
 | 
			
		||||
    "status": "CURRENT",
 | 
			
		||||
    "sort": "UPDATED_TIME_DESC"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
docs {
 | 
			
		||||
  Title
 | 
			
		||||
  
 | 
			
		||||
  Image
 | 
			
		||||
  
 | 
			
		||||
  Description
 | 
			
		||||
  
 | 
			
		||||
  Episodes
 | 
			
		||||
  
 | 
			
		||||
  Status
 | 
			
		||||
  
 | 
			
		||||
  Season
 | 
			
		||||
  
 | 
			
		||||
  External & Streaming Links
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user