<commit_before><commit_msg>Transferring blueprint from apiary.io<commit_after>FORMAT: 1A
HOST: http://metrics.cocoapods.org

# CocoaPods Metrics

Metrics is an API to view metrics for Pods.

## Status [/api/v1/status]

### Retrieve the Status [GET]

+ Response 200 (application/json)

        {
            "github": {
                "total": 8949,
                "complete": 7961,
                "not_found": 988
            },
            "cocoadocs": {
                "total": 8121
            }
        }

## Metrics [/api/v1/pods/{name}]

+ Parameters
    + name (required, string, `QueryKit`) ... The name of the Pod

### Retrieve the Metrics for a Pod [GET]

+ Response 200 (application/json)

        {
            "github": {
                "subscribers": 29,
                "stargazers": 823,
                "forks": 36,
                "contributors": 5,
                "open_issues": 1,
                "open_pull_requests": 1,
                "created_at": "2014-06-20 06:27:17 UTC",
                "updated_at": "2015-03-28 04:03:03 UTC",
                "language": "Objective-C",
                "closed_issues": 12,
                "closed_pull_requests": 11
            },
            "cocoadocs": {
                "download_size": 464,
                "total_files": 11,
                "total_comments": 292,
                "total_lines_of_code": 828,
                "doc_percent": 89,
                "readme_complexity": 74,
                "initial_commit_date": "2015-01-29 17:09:31 UTC",
                "rendered_readme_url": "http://cocoadocs.org/docsets/QueryKit/0.9.1/README.html",
                "created_at": "2015-01-13 09:20:05 UTC",
                "updated_at": "2015-03-21 01:55:01 UTC",
                "license_short_name": "BSD",
                "license_canonical_url": "https://en.wikipedia.org/wiki/BSD_licenses",
                "total_test_expectations": 105,
                "notability": 0,
                "dominant_language": "Objective C",
                "quality_estimate" :57
            }
        }

{'fraction_non_alphanumeric': 0.12929782082324456, 'fraction_numerical': 0.06392251815980629, 'mean_word_length': 1.4801920768307324, 'pattern_counts': {'":': 34, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2788519', 'n_tokens_mistral': 751, 'n_tokens_neox': 608, 'n_words': 126}