tests/testthat/api.twitter.com/2/tweets/counts/all-01339f.R

structure(list(url = "https://api.twitter.com/2/tweets/counts/all?query=%23commtwitter&start_time=2021-03-01T00%3A00%3A00Z&end_time=2021-06-05T00%3A00%3A00Z&granularity=day&next_token=1jzu9lk96azp0b3x7888hrpw8fftsbrvyadx5sfpjdz1", 
    status_code = 200L, headers = structure(list(date = "Thu, 24 Jun 2021 18:30:41 UTC", 
        server = "tsa_f", `content-type` = "application/json; charset=utf-8", 
        `cache-control` = "no-cache, no-store, max-age=0", `content-length` = "139", 
        `x-access-level` = "read", `x-frame-options` = "SAMEORIGIN", 
        `content-encoding` = "gzip", `x-xss-protection` = "0", 
        `x-rate-limit-limit` = "300", `x-rate-limit-reset` = "1624560215", 
        `content-disposition` = "attachment; filename=json.json", 
        `x-content-type-options` = "nosniff", `x-rate-limit-remaining` = "283", 
        `strict-transport-security` = "max-age=631138519", `x-connection-hash` = "63ce28965bd1a27b2f5c45eb027ca859f6f7f5156939af01614fd6f0e8bb1556"), class = c("insensitive", 
    "list")), all_headers = list(list(status = 200L, version = "HTTP/2", 
        headers = structure(list(date = "Thu, 24 Jun 2021 18:30:41 UTC", 
            server = "tsa_f", `content-type` = "application/json; charset=utf-8", 
            `cache-control` = "no-cache, no-store, max-age=0", 
            `content-length` = "139", `x-access-level` = "read", 
            `x-frame-options` = "SAMEORIGIN", `content-encoding` = "gzip", 
            `x-xss-protection` = "0", `x-rate-limit-limit` = "300", 
            `x-rate-limit-reset` = "1624560215", `content-disposition` = "attachment; filename=json.json", 
            `x-content-type-options` = "nosniff", `x-rate-limit-remaining` = "283", 
            `strict-transport-security` = "max-age=631138519", 
            `x-connection-hash` = "63ce28965bd1a27b2f5c45eb027ca859f6f7f5156939af01614fd6f0e8bb1556"), class = c("insensitive", 
        "list")))), cookies = structure(list(domain = c(".twitter.com", 
    ".twitter.com"), flag = c(TRUE, TRUE), path = c("/", "/"), 
        secure = c(TRUE, TRUE), expiration = structure(c(1687631316, 
        1687631316), class = c("POSIXct", "POSIXt")), name = c("personalization_id", 
        "guest_id"), value = c("REDACTED", "REDACTED")), row.names = c(NA, 
    -2L), class = "data.frame"), content = charToRaw("{\"data\":[{\"end\":\"2021-03-02T00:00:00.000Z\",\"start\":\"2021-03-01T00:00:00.000Z\",\"tweet_count\":26},{\"end\":\"2021-03-03T00:00:00.000Z\",\"start\":\"2021-03-02T00:00:00.000Z\",\"tweet_count\":14},{\"end\":\"2021-03-04T00:00:00.000Z\",\"start\":\"2021-03-03T00:00:00.000Z\",\"tweet_count\":8}],\"meta\":{\"total_tweet_count\":48}}"), 
    date = structure(1624559441, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 7.4e-05, 
    connect = 7.9e-05, pretransfer = 0.000265, starttransfer = 0.218445, 
    total = 0.218521)), class = "response")
cjbarrie/academictwitteR documentation built on Sept. 7, 2024, 5:12 a.m.